Open ISL270 opened 2 years ago
I can confirm this issue. Raw Bytes is wrong.
@ISL270
The rawBytes is in a format, where at the beginning is some info (including the length) and at the end is probably garbage. I wrote a function[0] to convert it to the real rawBytes. I recommend you to use mobile_scanner
, I only need this because f-droid does not allow mlkit. If you also cant switch, please let me know, if it works for you.
I've tried many ways to convert
Barcode.rawBytes
to an image but non of them worked, it always throw the following error:Exception: Invalid image data
Flutter information