HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Programming/Scripts (http://www.howtoforge.com/forums/forumdisplay.php?f=7)
-   -   Resample images on server (http://www.howtoforge.com/forums/showthread.php?t=53993)

manarak 31st August 2011 21:12

Resample images on server
 
I've inherited an old server where the customer's editors and moderator upload images into galleries.
They are not very tech savvy, so they are not very good at resizing pix.

Now it has grown to 10GB and I am running out of disk space.
I know I need to upgrade the server and change their gallery system, but for now I am out of time and need to resample their pics to buy time.

Do you know a script that can scan a directory and its subdirectories for image files, check their size and "weight" i.e. bytes/data against pixels/dimensions and perform a resize/resample whereever necessary?

falko 1st September 2011 19:10

Not sure, but maybe you can do this with ImageMagick.

manarak 1st September 2011 19:44

aaah, good idea, thank you!


All times are GMT +2. The time now is 12:33.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.