ZXing.Net.Maui 0.10.0: Decode Barcodes From Images and Export Barcode Images
ZXing.Net.Maui 0.10.0 adds two new APIs that cover scenarios beyond camera-based scanning. You can now decode barcodes from gallery images, downloaded files, or screenshots, and generate barcode or QR code images to save and share.
What you’ll learn
- Decoding barcodes from any
Streamor file path usingBarcodeReader.DecodeAsyncwith the familiarBarcodeReaderOptions - Generating barcode and QR code images with
BarcodeGenerator.WriteToFileAsyncandWriteToStreamAsync - Customising generated barcodes with format, dimensions, margins, foreground and background colours
- Getting platform-native image types (
Bitmap,UIImage,WriteableBitmap) viaBarcodeGenerator.GenerateAsync - EXIF orientation handling for rotated photos
- Bug fixes for Android RGBA row stride handling and Apple camera preview orientation