Earlier on Twitter tonight, TJ Luoma (@tjluoma) asked about a better way to merge iOS screenshots.
I’m assuming there is some limitation in iOS which makes it impossible to merge two full-size screenshots? Every app seems to crop them.— TJ Luoma (@tjluoma) October 13, 2014
I had a simple Pythonista script to do exactly what he asked. It was short, simple, and worked perfectly.
Until I tested it in iOS 8.
I wanted to test the script before sending it off, but I found that some images weren't responding the way they did in iOS 7. After a little work I got the script working again, but the more I worked with it, the more I saw limitations in the script.
- The script assumed only portrait screenshots.
- The script was written just for the iPhone.
- The script just pasted the two screen shots side by side.
That's too many limitations in this age of iOS devices. So I started to look at ways to make the script more universal. The script needed to merge images from either landscape or portrait captures. The script also needed to be able to do screenshots from any iOS device. After a little work, I can up with this:
Sometimes when someone asks for a little help, you end up scratching you're own itch.