BarCode 2022.9.8979
See the version list below for details.
dotnet add package BarCode --version 2022.9.8979
NuGet\Install-Package BarCode -Version 2022.9.8979
<PackageReference Include="BarCode" Version="2022.9.8979" />
paket add BarCode --version 2022.9.8979
#r "nuget: BarCode, 2022.9.8979"
// Install BarCode as a Cake Addin #addin nuget:?package=BarCode&version=2022.9.8979 // Install BarCode as a Cake Tool #tool nuget:?package=BarCode&version=2022.9.8979
IronBarcode - The C# Barcode & QR Code Library
Get Started | Features | Code Examples | Licensing | Free Trial
IronBarcode is a library developed and maintained by Iron Software that helps C# Software Engineers to read & write Barcodes and QR Codes in .NET applications & websites. Reading or writing barcodes only requires a single line of code with IronBarcode.
IronBarcode excels at:
- Read single or multiple Barcodes and QR Codes from images or PDFs.
- Image correction for skewing, orientation, noise, low resolution, contrast etc.
- Create barcodes and apply to images or PDF documents.
- Embed barcodes into HTML documents.
- Style Barcodes and add annotation text.
- QR Code Writing allows adding of logos, colors, and advanced QR alignment.
IronBarcode has cross platform support compatibility with:
- .NET 6 and .NET 5, Core 2x & 3x, Standard 2, and Framework 4x
- Windows, macOS, Linux, Docker, Azure, and AWS
Additionally, our API reference and full licensing information can easily be found on our website.
Using IronBarcode
Installing the IronBarcode NuGet package is quick and easy, please install the package like this:
PM> Install-Package BarCode
Once installed, you can get started by adding using IronBarCode
to the top of your C# code. Here is is sample Barcode Generating, Reading, and Saving example to get started:
using IronBarCode;
// Creating a barcode is as simple as:
var myBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8);
// Reading a barcode is easy with IronBarcode:
var resultFromFile = BarcodeReader.Read(@"file/barcode.png"); // From a file
var resultFromPdf = BarcodeReader.ReadPdf(@"file/mydocument.pdf"); // From PDF use ReadPdf
// After creating a barcode, we may choose to resize and save which is easily done with:
myBarcode.ResizeTo(400, 100);
myBarcode.SaveAsImage("myBarcodeResized.jpeg");
Features Table
The .NET IronBarcode Library reads and writes most Barcode and QR standards. These include code 39/93/128, UPC A/E, EAN 8/13, ITF, RSS 14 / Expanded, Databar, CodaBar, Aztec, Data Matrix, MaxiCode, PDF417, MSI, Plessey, USPS, and QR. The barcode result data includes type, text, binary data, page, and image file.
The barcode reading engine includes automatic image correction and barcode detection technology to take the pain out of locating and reading from imperfect scans. Multithreading, cropping, and batch scanning provides fast and accurate scanning of multi page documents.
Barcode writing API checks and verifies format, length, number, checksum to automatically avoid encoding errors. Barcode writer allows for styling, resizing, margins, borders, recoloring, and adding text annotations. Write to image, PDF or HTML file.
Supported Barcode Formats:
- QR & 2D Matrix: QR (+ Styled QR), Aztec, Data Matrix, MaxiCode (Read Only) USPS IM Barcode (Read Only)
- Modern Linear Barcodes: Code 39, Code 128, PDF417, Rss14 (Read Only), RSS Expanded (Read Only)
- Older Linear Barcodes: UPC-A, UPC-E, EAN-8, EAN-13, Codabar, ITF, MSI, Plessey (Write Only)
Reading Barcodes:
- Read from many image formats: Images (JPG, PNG, GIF, TIFF, SVG, BMP), Multipage GIF & TIFF, System.Drawing Objects, Streams, PDF, and more
- Image Filters to improve image reading: Brightness, Contrast, Invert, Sharpen, and many more!
- Set Accuracy & Performance: Single / Multi Barcode Reading, Specify Crop Regions, Set Output Format, Multithreading Support
- Output to many data formats: Text Data, Numerical Data, Binary Data, Barcode Image
Writing Barcodes:
- Write To Document Types: Image (jpg, png, gif, tiff, bmp), System.Drawing Objects, Streams, HTML (DataURI, file, or img), PDF (File, Stream, or Binary), Existing PDF (Stamp position)
- Encoding Barcode Data: Text, urls, IDs, numbers, & binary data
- Checking Fault Tolerance: Null Check, Checksums, Format Aware, Detailed Error messages, Custom QR Error Correction
- Styling Barcodes: Resizing, Margins & Borders, Recoloring, Add text annotations, Add logos to QR
Licensing & Support available
For code examples, tutorials and documentation visit https://ironsoftware.com/csharp/barcode/
For support please email us at developers@ironsoftware.com
Documentation Links
- Code Examples : (https://ironsoftware.com/csharp/barcode/examples/barcode-quickstart/
- API Reference : https://ironsoftware.com/csharp/barcode/object-reference/api/
- Tutorials : https://ironsoftware.com/csharp/barcode/tutorials/csharp-barcode-image-generator/
- Licensing : https://ironsoftware.com/csharp/barcode/licensing/
- Live Chat Support : https://ironsoftware.com/csharp/barcode/#helpscout-support
You can email us at developers@ironsoftware.com for support directly from our code team. We offer licensing and extensive support for commercial deployment projects.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- IronSoftware.System.Drawing (>= 2022.9.8843)
- System.Drawing.Common (>= 6.0.0)
-
.NETStandard 2.0
- IronSoftware.System.Drawing (>= 2022.9.8843)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on BarCode:
Package | Downloads |
---|---|
Spider
用于简化开发,提供一些公用方法。包括日志、数据验证、加解密、应用缓存、网络缓存、MQ等。 |
|
PdfDocuments.IronBarcode
High level C# library for the easy creation of barcodes in PDF documents using PdfSharp. |
|
VendotekSdk
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on BarCode:
Repository | Stars |
---|---|
devmentors/Cine
Modular monolith in .NET Core
|
Version | Downloads | Last updated |
---|---|---|
2024.10.10 | 6,868 | 10/14/2024 |
2024.9.7 | 5,410 | 9/20/2024 |
2024.8.12 | 14,889 | 8/21/2024 |
2024.7.2 | 14,425 | 7/8/2024 |
2024.6.1 | 11,867 | 6/4/2024 |
2024.5.3 | 19,309 | 4/29/2024 |
2024.4.4 | 12,649 | 4/5/2024 |
2024.3.2 | 36,858 | 3/8/2024 |
2024.2.1 | 16,385 | 1/29/2024 |
2023.12.4 | 38,416 | 11/27/2023 |
2023.11.8 | 16,775 | 11/3/2023 |
2023.11.3 | 7,681 | 10/27/2023 |
2023.10.1 | 10,946 | 9/27/2023 |
2023.9.45 | 11,985 | 9/8/2023 |
2023.8.4 | 20,638 | 7/31/2023 |
2023.7.2 | 15,956 | 7/3/2023 |
2023.6.1 | 30,020 | 5/29/2023 |
2023.5.1 | 15,745 | 5/1/2023 |
2023.4.1 | 29,784 | 3/30/2023 |
2023.3.2 | 15,943 | 3/2/2023 |
2023.2.2 | 21,032 | 2/2/2023 |
2023.1.11395 | 24,840 | 1/6/2023 |
2022.11.10702 | 79,230 | 11/28/2022 |
2022.10.9871 | 29,375 | 10/18/2022 |
2022.9.8982 | 44,173 | 9/14/2022 |
2022.9.8979 | 4,913 | 9/13/2022 |
2022.9.8977 | 3,079 | 9/13/2022 |
2022.8.8024 | 28,264 | 8/9/2022 |
2022.7.7345 | 55,738 | 7/13/2022 |
2022.5.5918 | 21,446 | 5/27/2022 |
2022.3.0 | 49,663 | 3/10/2022 |
2021.12.21 | 30,478 | 12/21/2021 |
2021.11.0 | 27,973 | 10/29/2021 |
2021.9.0 | 67,591 | 8/24/2021 |
2021.6.3 | 27,850 | 6/9/2021 |
2020.12.2 | 85,251 | 12/8/2020 |
2020.6.0 | 91,900 | 6/3/2020 |
2020.5.0 | 15,012 | 4/22/2020 |
4.0.2.2 | 110,842 | 11/22/2018 |
4.0.2.1 | 5,780 | 11/9/2018 |
4.0.1.4 | 3,439 | 11/5/2018 |
4.0.1 | 6,244 | 10/12/2018 |
Image Compatibility Improvements
* Adds support for .NET 7
* Adds IronSoftware.System.Drawing to add Bitmap support for
* System.Drawing.Common (System.Drawing for .NET Framework) without any code changes
* Maui
* SixLabors.ImageSharp
* SkiaSharp
* Loading Images without an image Library from Files and Strings
* https://github.com/iron-software/IronSoftware.System.Drawing
Breaking Change:
* Removes support for .NET Framework 4.5. Minimum supported .NET Framework version is now 4.6.2
Other Changes:
* Adds new ImageFilter methods to improve reading:
* AdaptiveThreshold
* BinaryThreshold
* Brightness
* Contrast
* Invert
* Sharpen
* Adds Image Filter result after applying an ImageFilter so you may export and inspect processed images
Platform Compatibility Improvements:
* Improves support for many Linux Distros
* Ubuntu 16, 18, 20, 22
* Debian 9, 10, 11
* Fedora 35, 36, 37
* CentOs 7, 8
* Rocky Linux 8, 9
* Amazon Linux 2