Can you auto-Rotate, rename, resize in one step?
Posted: 2008-05-08T16:42:25-07:00
I'm using the following to process my images
# autorotate from EXIF orientation, set filetime to EXIF date_taken
jhead -autorot -ft *.jpg
# create 640px preview, save a copy of preview subfolder
mkdir preview
mogrify -quality 85 -path ./preview -resize 640x640">" *.jpg
But what I really want is to have everything in imageMagick and in 1 command. And ideally, instead of saving the preview in a subfolder, save it with a prefix on the filename. Also, saving a third 75px square thumbnail would be the cats meow.
Can someone help me with the command?
TIA
# autorotate from EXIF orientation, set filetime to EXIF date_taken
jhead -autorot -ft *.jpg
# create 640px preview, save a copy of preview subfolder
mkdir preview
mogrify -quality 85 -path ./preview -resize 640x640">" *.jpg
But what I really want is to have everything in imageMagick and in 1 command. And ideally, instead of saving the preview in a subfolder, save it with a prefix on the filename. Also, saving a third 75px square thumbnail would be the cats meow.
Can someone help me with the command?
TIA