zxing-js/library

Getting N: Dimensions could be not found. when using decode from image feature.

jainhitesh9998 opened this issue · 0 comments

Describe the bug
I have a qr image which fails to decode when performing decode via image, the same works with scan from video camera.

To Reproduce

  1. Go to https://jainhitesh9998.github.io/library-zxing-js/examples/qr-image/
  2. Click on decode.
  3. N: Dimensions could be not found is displayed.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • macos sonoma, windows 11
  • Browser chrome 128 and safari

Smartphone (please complete the following information):

  • Device: iphone 15
  • OS: ios 17
  • Browser safari and chrome

Additional context
https://jainhitesh9998.github.io/library-zxing-js/examples/qr-camera/ works, https://jainhitesh9998.github.io/library-zxing-js/examples/qr-image/ doesnt' work on the same image