Closed dany-nonstop closed 4 years ago
Hey @github-yd Thanks for raising an issue here,
Try changing
src = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==';
to
src = 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==';
Hi @ChrisTomAlx,
I was having the same problem but your suggestion fixed it. I followed an example on the Ionic OCR plugin page but it's obviously wrong.
You can safely close this issue.
Thanks a lot for the help!
Cheers, Patrik
My code is pretty straightforward, in a ionic4 project I uses a single pixel image to test that the plugin is running correctly. And I got this error:
, with no context / detail explanation for me to debug.
ps. I got the single pixel base64 from google search, it's a transparent png.
let me know if any additional information is required for your debugging. actually I tried other base64 images and got the same error so far.