TIgerV
asked on
Resize photos in a directory
I have a Virtual Private server that, through a script, gets a number of photos placed on it. The script pulls the photos from an email attachment.
Recently, the size of the photos has increased dramatically, from 250k each to over 800K each.
I would like to know if there is a linux command line that I could use (via cron pref.) to look in the directory and resize all photos over 450k to a lesser quality (10 to 8) or even a smaller size (1050x1500 to 400x1000)??
Thank you.
Recently, the size of the photos has increased dramatically, from 250k each to over 800K each.
I would like to know if there is a linux command line that I could use (via cron pref.) to look in the directory and resize all photos over 450k to a lesser quality (10 to 8) or even a smaller size (1050x1500 to 400x1000)??
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.imagemagick.org/script/mogrify.php