istereo2

annotate 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
rev   line source
nuclear@22 1 #!/bin/sh
nuclear@22 2
nuclear@22 3 if [ -z "$1" ]; then
nuclear@22 4 name=shot
nuclear@22 5 else
nuclear@22 6 name=$1
nuclear@22 7 fi
nuclear@22 8
nuclear@22 9 echo "Capturing iOS applestore shots for: $name"
nuclear@22 10
nuclear@22 11 echo 'hit enter to capture 3.5" iphone shot (960x640)'
nuclear@22 12 read foo
nuclear@22 13 import ${name}_sz35.jpg
nuclear@22 14 echo 'hit enter to capture 4.0" iphone shot (1136x640)'
nuclear@22 15 read foo
nuclear@22 16 import ${name}_sz40.jpg
nuclear@22 17 echo 'hit enter to capture 4.7" iphone shot (1134x750)'
nuclear@22 18 read foo
nuclear@22 19 import ${name}_sz47.jpg
nuclear@22 20 echo 'hit enter to capture half-res 5.5" iphone shot (1104x621)'
nuclear@22 21 read foo
nuclear@22 22 import ${name}_sz55.jpg && mogrify -resize 2208 ${name}_sz55.jpg
nuclear@22 23 echo 'hit enter to capture half-res ipad shot (1024x748)'
nuclear@22 24 read foo
nuclear@22 25 import ${name}_ipad.jpg && mogrify -resize 2048 ${name}_ipad.jpg