istereo2

view ios/shots/grab @ 22:c6971ff4795e

screenshot helper code
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 02 Oct 2015 07:10:19 +0300
parents
children
line source
1 #!/bin/sh
3 if [ -z "$1" ]; then
4 name=shot
5 else
6 name=$1
7 fi
9 echo "Capturing iOS applestore shots for: $name"
11 echo 'hit enter to capture 3.5" iphone shot (960x640)'
12 read foo
13 import ${name}_sz35.jpg
14 echo 'hit enter to capture 4.0" iphone shot (1136x640)'
15 read foo
16 import ${name}_sz40.jpg
17 echo 'hit enter to capture 4.7" iphone shot (1134x750)'
18 read foo
19 import ${name}_sz47.jpg
20 echo 'hit enter to capture half-res 5.5" iphone shot (1104x621)'
21 read foo
22 import ${name}_sz55.jpg && mogrify -resize 2208 ${name}_sz55.jpg
23 echo 'hit enter to capture half-res ipad shot (1024x748)'
24 read foo
25 import ${name}_ipad.jpg && mogrify -resize 2048 ${name}_ipad.jpg