BarCode.Slim 2024.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package BarCode.Slim --version 2024.2.1                
NuGet\Install-Package BarCode.Slim -Version 2024.2.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BarCode.Slim" Version="2024.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BarCode.Slim --version 2024.2.1                
#r "nuget: BarCode.Slim, 2024.2.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BarCode.Slim as a Cake Addin
#addin nuget:?package=BarCode.Slim&version=2024.2.1

// Install BarCode.Slim as a Cake Tool
#tool nuget:?package=BarCode.Slim&version=2024.2.1                

Nuget Installs Passed windows macOS linux docker aws microsoftazure livechat

IronBarcode - The C# Barcode & QR Code Library

IronBarcode NuGet Trial Banner Image

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 8, .NET 7, .NET 6, .NET 5, Core 2x & 3x, Standard 2 and Framework 4x
  • Windows, MacOS, Linux, Docker, Azure and AWS

IronBarcode Cross Platform Compatibility Support Image

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

IronBarcode Features

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

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 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 net is compatible.  net461 was computed.  net462 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BarCode.Slim:

Package Downloads
BarCode

IronBarCode - An advanced package that leverages Machine Learning for more accurate Barcode detection Quickstart guide: https://ironsoftware.com/csharp/barcode/ IronBarcode allows developers to read & write Barcodes and QR Codes within .NET Applications & websites. Reading or writing barcodes only requires a single line of code with Iron Barcode. The .NET Barcode 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. 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 verifys 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. Key library features include: * 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 can be used within C#, VB.NET, ASP .NET projects, MVC, Web Services, Console & Desktop Applications. Supports: * .NET Framework 4.6.2 + * .NET Core 2.0 + * .NET 5 * .NET 6 * .NET 7 * .NET 8 Licensing & Support available for commercial deployments. For code examples, documentation & more visit https://ironsoftware.com/csharp/barcode/ For support please email us at support@ironsoftware.com

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.10.10 6,931 10/14/2024
2024.9.7 5,226 9/20/2024
2024.8.12 15,538 8/21/2024
2024.8.11 368 8/21/2024
2024.7.2 13,174 7/8/2024
2024.6.1 10,026 6/4/2024
2024.5.3 16,224 4/29/2024
2024.4.4 10,671 4/5/2024
2024.3.2 41,475 3/8/2024
2024.3.1 3,059 3/4/2024
2024.2.1 13,822 1/29/2024
2024.1.1 11,324 12/29/2023
2023.12.4 35,301 11/27/2023

- Improves behavior when reading barcodes from PDFs by flattening document page before reading.
- Adds ability to optimize confidence threshold value. (See `BarcodeReaderOptions` for `ConfidenceThreshold`)
- Fixes missing DLL exception in Auto mode when reading barcode using BarCode.Slim.
- Updated `IronSoftware.System.Drawing` to version 2024.2.2.