I am working on an embedded Linux system (kernel-5.10.24). Now I am trying to use zbar-0.23
to scan barcodes in JPEG format, but I don't know how to do that.
There is an example/scan_image.c, which can scan barcodes in PNG
format, but my barcodes are all in JPEG
format.
So how to scan the barcodes in JPEG
format with zbar
? What are the interfaces in libzbar
can be used to do the JPEG barcode scanning?