Is your feature request related to a problem? Please describe.
Decoding QR codes from small or low-quality sources (e.g. old ID cards with very small QR codes) is unreliable on some Android devices with low-resolution cameras. Live camera scanning often fails due to hardware limitations, even though the QR content itself is valid.
Describe the solution you'd like
Add support for decoding QR codes from existing images in the device gallery. Users can capture a photo or select a saved image, then the library decodes the QR from that static image. This allows better results by leveraging higher image clarity and possible pre-processing (crop, zoom, enhance) before decoding.
Describe alternatives you've considered
Further optimizing live camera scanning (focus, zoom, frame processing), which still heavily depends on camera hardware quality.
Using fully native solutions with deep camera and image processing pipelines, which significantly increases implementation complexity.
Additional context
Many popular apps support scanning QR codes from gallery images as a fallback when live scanning fails. This feature would improve robustness and user experience, especially on low-end Android devices and for very small QR codes.
Is your feature request related to a problem? Please describe.
Decoding QR codes from small or low-quality sources (e.g. old ID cards with very small QR codes) is unreliable on some Android devices with low-resolution cameras. Live camera scanning often fails due to hardware limitations, even though the QR content itself is valid.
Describe the solution you'd like
Add support for decoding QR codes from existing images in the device gallery. Users can capture a photo or select a saved image, then the library decodes the QR from that static image. This allows better results by leveraging higher image clarity and possible pre-processing (crop, zoom, enhance) before decoding.
Describe alternatives you've considered
Further optimizing live camera scanning (focus, zoom, frame processing), which still heavily depends on camera hardware quality.
Using fully native solutions with deep camera and image processing pipelines, which significantly increases implementation complexity.
Additional context
Many popular apps support scanning QR codes from gallery images as a fallback when live scanning fails. This feature would improve robustness and user experience, especially on low-end Android devices and for very small QR codes.