GdPicture.NET is a Nutrient product. Learn more

MaxiCode reader and scanner SDK for .NET

Read and generate MaxiCode barcodes in your .NET applications across 100+ image formats, including PDF, TIFF, JPEG, and PNG. Configure encoding modes and module spacing for fixed-size matrix codes. Built-in error correction enables reading, even when portions of the symbol are damaged.



MaxiCode recognition and generation

This SDK delivers accurate MaxiCode barcode recognition and generation for .NET applications. Process codes across 100+ image formats with configurable encoding modes, multi-symbol detection, and built-in ECC error correction for robust performance.

Note: Each MaxiCode symbol has a fixed size of 884 hexagonal modules arranged in 33 rows around a central finder pattern, with each row containing 29 or 30 modules.

MaxiCode barcode illustration
Format support

Recognize and generate MaxiCode barcodes across 100+ image formats, including PDF, TIFF, JPEG, and PNG. Decode codes from black and white, grayscale, palletized, and color images — full-page or region-specific detection.

Output details

Returns the decoded string value and precise bounding box coordinates (top-left, top-right, bottom-left, bottom-right) for each recognized MaxiCode barcode, enabling accurate positioning and validation.

Error correction

Built-in ECC error correction algorithm enables recognition of partially damaged symbols. Reed–Solomon error correction ensures robust decoding even in challenging real-world conditions with degraded print quality.

High performance

AnyCPU architecture supporting 32-bit and 64-bit environments. Multithreaded processing delivers scalable performance for high-volume MaxiCode operations across modern computing environments.


get started

How to use

Download and install the GdPicture.NET package to access compiled demo applications and multi-language sample projects with full source code.

Explore demo apps
Find compiled demo applications in \Samples\Bin\.
Explore multi-language source code
Find C# and VB.NET demo apps and source code in \Samples\WinForm\.
Visit reference guide
Explore other code snippets within the online reference guide.

Example of usage

The example scans MaxiCode barcodes and then writes their values to the console.

using GdPictureImaging gdpictureImaging = new GdPictureImaging();
// Select the image to process.
int imageID = gdpictureImaging.CreateGdPictureImageFromFile(@"C:\temp\source.png");
// Scan the barcodes.
gdpictureImaging.BarcodeMaxiCodeReaderDoScan(imageID);
// Determine the number of scanned barcodes.
int barcodeCount = gdpictureImaging.BarcodeMaxiCodeReaderGetBarcodeCount();
string content = "";
if (barcodeCount > 0)
{
// Save the value of each barcode.
content = "Number of barcodes scanned: " + barcodeCount.ToString();
for (int i = 1; i <= barcodeCount; i++)
{
content += $"\nBarcode Number: {i} Value: {gdpictureImaging.BarcodeMaxiCodeReaderGetBarcodeValue(i)}";
}
}
// Write the values to the console.
Console.WriteLine(content);
// Release unnecessary resources.
gdpictureImaging.BarcodeMaxiCodeReaderClear();
gdpictureImaging.ReleaseGdPictureImage(imageID);

Trusted by 3,000+ customers and Fortune 500 companies

15Y+
More than 15 years of experience developing our SDK
10K+
Trusted by more than 10,000 developers


Frequently asked questions

What is a MaxiCode, and where is it commonly used?

MaxiCode is a fixed-size 2D barcode consisting of hexagonal modules arranged around a central bullseye finder pattern. It was developed by United Parcel Service (UPS) and is primarily used in shipping and logistics for package tracking, sorting, and delivery optimization. Each MaxiCode symbol has a fixed size of 884 hexagonal modules arranged in 33 rows.

Which image formats are supported by the GdPicture.NET MaxiCode barcode scanner SDK?

The SDK supports more than 100 image formats, including PDF, TIFF, JPEG, PNG, BMP, and GIF. It can decode MaxiCode barcodes from black and white, grayscale, palletized, and full-color images with full-page or region-specific detection capabilities.

Can the SDK detect multiple MaxiCode barcodes within a single image?

Yes. The GdPicture.NET SDK can detect and decode multiple MaxiCode barcodes within a single image. It returns the count of detected barcodes and provides access to each barcode’s value and position coordinates individually.

Does the SDK support error correction for damaged or partially obscured barcodes?

Yes. The SDK includes built-in Reed–Solomon error correction capabilities that enable recognition of partially damaged MaxiCode symbols. This ensures robust decoding, even in challenging real-world conditions with degraded print quality or partial obstruction.

Is the SDK optimized for high-performance and multithreaded applications?

Yes. The GdPicture.NET MaxiCode SDK features AnyCPU architecture supporting both 32-bit and 64-bit environments. Multithreaded processing delivers scalable performance for high-volume barcode operations, making it suitable for enterprise-level applications.

Does Nutrient use the same MaxiCode engine across its desktop and web products?

Yes. GdPicture.NET is part of the Nutrient product suite, and the MaxiCode recognition technology is consistent across Nutrient’s desktop, web, and mobile SDKs, providing reliable postal and logistics barcode processing across platforms.

60-day free trial

Try GdPicture.NET now!