Skip to content

feat(image-qr): new Add QR to Image tool - #59

Merged
slaveofcode merged 2 commits into
developfrom
feat/image-qr
Jul 31, 2026
Merged

feat(image-qr): new Add QR to Image tool#59
slaveofcode merged 2 commits into
developfrom
feat/image-qr

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

New Add QR to Image tool (/tools/image-qr) — overlay a QR code onto a corner of an uploaded image.

  • Type the QR content (text/URL); pick a corner (TL/TR/BL/BR, default bottom-right).
  • Size slider (% of shorter side, default 18%); optional white rounded backing card (default ON) for a reliable quiet zone so it scans over busy images.
  • Uses the existing qrcode dep (no new dependencies). Output via shared ImageResult.

Pure tested logic (qr-overlay.lib.ts: qrPixelSize, qrCardPlacement). Distinct from the standalone QR Generator (qr-gen).

Spec: docs/superpowers/specs/2026-08-01-image-qr-design.md

496 tests pass · lint 0 errors · build green (/tools/image-qr built).

🤖 Generated with Claude Code

Kresna and others added 2 commits August 1, 2026 00:16
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Overlay a QR code (encoding typed text/URL) onto a corner of an uploaded
image. Corner picker (4 corners), size slider (% of shorter side), and an
optional white rounded backing card (default on) for a reliable quiet zone.

Pure tested logic in qr-overlay.lib.ts (qrPixelSize, qrCardPlacement);
overlayQr renders the QR via the existing qrcode dep and composites it,
reusing keepFormat/encodeCanvas. Thin island + registry entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@slaveofcode
slaveofcode merged commit 798ede0 into develop Jul 31, 2026
1 of 2 checks passed
@slaveofcode
slaveofcode deleted the feat/image-qr branch July 31, 2026 17:22
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