Skip to content

Scan QR code from gallery image#664

Open
xpncvr wants to merge 1 commit into
GrapheneOS:mainfrom
xpncvr:xpncvr_qr_scan
Open

Scan QR code from gallery image#664
xpncvr wants to merge 1 commit into
GrapheneOS:mainfrom
xpncvr:xpncvr_qr_scan

Conversation

@xpncvr

@xpncvr xpncvr commented Jul 17, 2026

Copy link
Copy Markdown

Adds a button in QR-scan mode that opens the system photo picker and decodes a code from the chosen image. It reuses the existing scan result dialog.

The new button is added at the bottom right.
image

Implements #593

Adds a button in QR-scan mode that opens the system photo picker and
decodes a code from the chosen image, reusing the existing scan-result
dialog. Decoding uses a new QRAnalyzer.scanStillImage() that builds an
RGBLuminanceSource instead of the camera's PlanarYUVLuminanceSource,
with TRY_HARDER and an inverted-source fallback, honoring the current
format toggles.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant