istereo2

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ios/shots/grab	Fri Oct 02 07:10:19 2015 +0300
     1.3 @@ -0,0 +1,25 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +if [ -z "$1" ]; then
     1.7 +	name=shot
     1.8 +else
     1.9 +	name=$1
    1.10 +fi
    1.11 +
    1.12 +echo "Capturing iOS applestore shots for: $name"
    1.13 +
    1.14 +echo 'hit enter to capture 3.5" iphone shot (960x640)'
    1.15 +read foo
    1.16 +import ${name}_sz35.jpg
    1.17 +echo 'hit enter to capture 4.0" iphone shot (1136x640)'
    1.18 +read foo
    1.19 +import ${name}_sz40.jpg
    1.20 +echo 'hit enter to capture 4.7" iphone shot (1134x750)'
    1.21 +read foo
    1.22 +import ${name}_sz47.jpg
    1.23 +echo 'hit enter to capture half-res 5.5" iphone shot (1104x621)'
    1.24 +read foo
    1.25 +import ${name}_sz55.jpg && mogrify -resize 2208 ${name}_sz55.jpg
    1.26 +echo 'hit enter to capture half-res ipad shot (1024x748)'
    1.27 +read foo
    1.28 +import ${name}_ipad.jpg && mogrify -resize 2048 ${name}_ipad.jpg