Skip to content

Instantly share code, notes, and snippets.

@yoichitgy
yoichitgy / genscreenshots.sh
Created March 13, 2015 11:40
A shell script to generates screenshot images from PSD files to submit to iTunes Connect (App Store). It removes the alpha channel of the source 5.5 inch images, and resizes and crops them to generate 4.7, 4 and 3.5 inch images.
#!/bin/sh
# settings ==========
filePrefix=""
destDir="./output/"
destDir5_5=$destDir"5.5inch/"
destDir4_7=$destDir"4.7inch/"
destDir4=$destDir"4inch/"
destDir3_5=$destDir"3.5inch/"