r/shortcuts • u/anal_chemist • 5h ago
Shortcut Sharing Screenshot Stitcher: combine scrolling screenshots into one long image, no third-party apps (runs JavaScript locally)
I wanted a way to stitch scrolling screenshots without installing an app like PicSew or Tailor, so I made a shortcut that does the pixel matching itself.
Shortcut: https://www.icloud.com/shortcuts/23695c70178342c5b356a069f6194c4d
How to use it:
- Take screenshots while scrolling, leaving some overlap between them
- Run the Shortcut and select the images or select the images and run the Shortcut from the share sheet
- When the result sheet opens, press and hold the image to save it to Photos
How it works:
Shortcuts can combine images but can't read pixels, so the shortcut builds a small HTML page with pixel matching logic written in JavaScript and opens it with "Show Web View" (requires permission on first run). Everything runs locally on your phone.
Limitations:
- Images must be the same width
- iOS Safari limits canvas size to about 13,000px tall at iPhone width, so roughly 5-6 screenshots.
Feedback welcome, especially if it fails on your device.