Repository navigation
feat: export QR sequences as animated GIF - #27
Merged
Merged
Conversation
✅ Deploy Preview for qrss ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…he camera first before scanning
…nd 1024 * 1024 options
LittleSound
approved these changes
Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Export file-transfer QR sequences as animated GIFs from the Send page. Users can choose a block-count multiplier (1.5× by default, with 2× and 3× presets) or an exact positive frame count, with no arbitrary frame-count cap. The panel shows the effective count, ratio, duration, progress, and cancellation controls.
The GIF encoder loads on demand and renders crisp black-and-white QR pixels. Export uses a separate fountain encoder, pauses the live stream, and verifies that the exact exported blocks restore the input bytes before downloading. An insufficient sequence prompts the user to increase the count. Cancellation, transfer changes, and unmounting prevent a late download.
The diff is limited to GIF export. Camera behavior, file-metadata encoding, repository links, deployment configuration, and unrelated dependency versions remain unchanged.
Validation:
pnpm install --frozen-lockfilepnpm run lint --fixpnpm run typecheck(after workspace stubs)pnpm run generatetest/slicing.test.tsbinary-slice snapshot failure (expected 24, actual 23), reproduced independently on unchanged main at76169dd. It is not changed in this PR.