![]() Specifying one or more, performance will increase.ĮxpectBarcodeTypes = BarcodeEncoding.AllOneDimensional, By default, all barcode formats are scanned for. Reader will stop scanning once a barcode is found, unless set to true There is a tradeoff in performance as more Detail is set Choose a speed from: Faster, Balanced, Detailed, ExtremeDetail Please utilize the BarcodeReaderOptions paramter of read:īarcodeReaderOptions myOptionsExample = new BarcodeReaderOptions() To set more options and optimization with your Barcode Reading, MyNewBarcode.SaveAsImage("myBarcodeResized.jpeg") Var myNewBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8) After creating a barcode, we may choose to resize and save which is easily done with: ![]() ![]() Var resultFromPdf = // From PDF use ReadPdf ![]() Var resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg")) // From an image Var resultFromBitMap = BarcodeReader.Read(new Bitmap("barcode.bmp")) // From a bitmap Reading a barcode is easy with IronBarcode: Image myBarcodeImage = myBarcode.Image // Can be used as Imageīitmap myBarcodeBitmap = myBarcode.ToBitmap() // Can be used as Bitmap Var myBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8)
0 Comments
Leave a Reply. |