Commit Graph
2 Commits
Author SHA1 Message Date
Fredrik JohanssonandClaude Sonnet 5 1eb0467b76 Add drag-to-reposition for the fixed 3:2 crop
Docker / build-and-push (push) Successful in 4m29s
Same fix as latent: the photo area always cover-crops to 3:2 and always
centered, with no way to choose what got cut off. Crop position is now a
normalized 0-1 offset per axis, adjustable by dragging directly on the
canvas whenever the photo's aspect actually leaves slack to pan within.
Pointer movement converts to original-photo pixels via canvas-width/
display-width and outW/cropW (postcard downscales through outW before
compositing, unlike latent's more direct pipeline), so it stays 1:1
regardless of the maxDim downscale or CSS scaling. Resets to centered on
a new photo upload. Verified with a real drag test using far-edge
markers: dragging left/right correctly reveals the opposite edge's
marker in both directions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-07 17:33:58 +02:00
Fredrik JohanssonandClaude Sonnet 5 cf0f5fca2c Initial commit: postcard v1
Phone photo -> composited postcard (canvas templates, stamp corner,
EXIF-aware date/location, self-hosted handwriting font) with a small
server for share links, day-context caption drafting off goonk's
day-summary API, and Nominatim reverse geocoding.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-06 19:49:03 +02:00