Then, the reader will recognize & output all the EAN 13 barcodes from this gif image file to data string.
Use VB.NET Lib Code to Decode EAN 13 Barcode in ASP.NET Website
With the help of our .NET barcode decoding dll, it is unbelievably easy to read & decode all EAN 13 barcodes from several image formats, including gif, png, tiff, bmp and jepg files.
The following is free VB.NET code to recognize & scan all EAN 13 barcodes from a gif image file (which is located in C Drive, called "ean13-aspnet").
Dim datas() AsString = BarcodeReader.read("c:/ean13-aspnet.gif", BarcodeReader.EAN13)
Speed up Reading Rate of ASP.NET EAN 13 Barcode Reading SDK
ASP.NET EAN 13 Barcode Reader from BarcodeLib.com equips itself with the ability to adjust its scanning speed in different situations.
There is a maximum EAN 13 barcode in the source image: When you are under this situation, you can set maxOneBarcodePerPage to true, so the reader will stop scanning once it finds an EAN 13 barcode.
Otherwise, the ASP.NET scanner will use total 5 algorithms and each will read the whole image from 4 directions.
There is an EAN 13 barcode in certain part of the image file: The EAN 13 ASP.NET barcode decoder from BarcodeLib.com also allows users to scan partial image. This feature demonstrates great importance especially when you are going to scan a large-size image file or EAN 13 barcodes are located in some fixed area. Under this situation, you can largely reduce the scanning time by directing the reader to scan the specific area.
To help you achieve that purpose, our ASP.NET barcode scanner specify that the most left top point is (0%, 0%), and most right bottom point is (100%, 100%). The point X, Y values are expressed in percentage of the whole image. Thus, users could easily locate a specific area using different coordinates.
Now assume user needs to scan the top 20% and bottom 20% area, he just needs to write the below codes:
For C#.NET programming:
OptimizeSetting setting = new OptimizeSetting();
ScanArea top20 = new ScanArea(new PointF(0.0F, 0.0F), new PointF(100.0F, 20.0F));
ScanArea bottom20 = new ScanArea(new PointF(0.0F, 80.0F), new PointF(100.0F, 100.0F));
List<ScanArea> areas = new List<ScanArea>(); areas.Add(top20); areas.Add(bottom20);