Wednesday, July 6, 2011

Convert and Reszie PSD to JPG

Nice problem:
Converting a whole directory of .psd files into jpg and resize them to a lower resolution.

Smart solution:

for x in *.psd; do convert -size 320x240 -flatten "$x" "`basename "$x" .psd`.jpg";done

What a great solution in one line!

1 comment: