---
title: "Reading 1D barcodes from images | Nutrient .NET SDK"
canonical_url: "https://www.nutrient.io/guides/dotnet/barcodes/read-scan/read-1d-barcode-from-image/"
md_url: "https://www.nutrient.io/guides/dotnet/barcodes/read-scan/read-1d-barcode-from-image.md"
last_updated: "2026-05-28T01:45:39.242Z"
description: "How to read 1D barcodes from images using Nutrient .NET SDK."
---

# Reading 1D barcodes from images

This guide demonstrates how to read one-dimensional (1D) barcode values from an image.

Use this workflow when you need to:

- Extract product or shipment identifiers from barcode images

- Support inventory, checkout, or logistics pipelines

- Process one or more barcodes from a single file

## Implementation

The workflow loads an image, runs a barcode scan, and reads detected values:

```csharp

using GdPicture14;

LicenseManager licence = new LicenseManager();
licence.RegisterKEY(""); // Set a demo key

using GdPictureImaging imaging = new GdPictureImaging();
int imageId = imaging.CreateGdPictureImageFromFile(@"input_barcode_1d.png");
imaging.Barcode1DReaderDoScan(imageId);
int barcodesCount = imaging.Barcode1DReaderGetBarcodeCount();
string barcodeValue = imaging.Barcode1DReaderGetBarcodeValue(1);

```

## Supported barcode types

The SDK supports common 1D formats, including:

- Code 128

- Code 39

- UPC-A and UPC-E

- EAN-13 and EAN-8

- Code 93

- Interleaved 2 of 5

## Notes

- Use `Barcode1DReaderGetBarcodeCount()` to check how many barcodes the scan found.

- Use `Barcode1DReaderGetBarcodeValue(index)` to retrieve each barcode value by index.

- Add status checks in production code to handle image load and scan failures.

## Conclusion

This workflow scans an image for 1D barcodes and reads decoded values for downstream business logic.

---

## Related pages

- [Scan and read 1D (linear) barcodes in C#](/guides/dotnet/barcodes/read-scan/1d-linear.md)
- [Scan and read Aztec Code in C# .NET](/guides/dotnet/barcodes/read-scan/aztec-code.md)
- [Scan, read, and generate Data Matrix barcodes in C#](/guides/dotnet/barcodes/read-scan/datamatrix.md)
- [C# barcode reader and scanner library](/guides/dotnet/barcodes/read-scan.md)
- [Scan and read MaxiCode in C# .NET](/guides/dotnet/barcodes/read-scan/maxicode.md)
- [Scan and read Micro QR codes in C#](/guides/dotnet/barcodes/read-scan/microqr.md)
- [Scan and read PDF417 barcodes in C#](/guides/dotnet/barcodes/read-scan/pdf417.md)
- [Scan and read QR codes in C#](/guides/dotnet/barcodes/read-scan/qr.md)
- [Reading QR codes from images](/guides/dotnet/barcodes/read-scan/read-qr-code-from-image.md)

