How to Merge Images Vertically, Horizontally, or in a Collage Without Uploading (HTML5 Canvas + HEIC)
Need to stitch two or more screenshots vertically, put before/after photos side-by-side, or build a 2×2 collage—without uploading private receipts, ID scans, or iPhone photos to a random server? We just shipped the KitW
Need to stitch two or more screenshots vertically, put before/after photos side-by-side, or build a 2×2 collage—without uploading private receipts, ID scans, or iPhone photos to a random server?
We just shipped the KitWharf Image Merger & Collage Maker (built from a community feature request) so everything executes 100% locally in browser RAM.
How Client-Side Stitching & Auto-Alignment Works
Instead of sending files to a remote ImageMagick backend, the browser's HTML5 2D Canvas API handles scaling, rotation, color filters, and compositing locally:
-
HEIC Decoding in WebAssembly: Apple
.heic/.heifphotos are decoded client-side viaheic2any(with aheic-decodeWASM fallback) before entering the Canvas pipeline. -
Proportional Dimension Matching: When combining mixed-aspect screenshots (
3:2+4:3+ mobile9:16), Vertical mode scales every frame to match a target width, Horizontal mode normalizes heights, and Grid/Collage modes center-crop each cell uniformly so rows and columns stay flush. -
Per-Image 90° Rotation & Color Adjustments: Canvas transforms (
ctx.translate,ctx.rotate) andctx.filterapply brightness, contrast, and saturation cleanly in one pass before exporting lossless PNG (with optional transparency), JPG, or WebP.
Try It Free (Zero Login, Zero Watermarks)
- Image Merger & Collage Maker
- Full Guide: Merging Images Without Uploading
- Batch Image Compressor (WebP/JPG)
- iPhone HEIC to JPG Converter
What image or PDF workflow do you still rely on desktop software for that you'd love to see run 100% in your browser?
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.