LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   A software to Mass-resize (lots of) pictures? (https://www.linuxquestions.org/questions/linux-software-2/a-software-to-mass-resize-lots-of-pictures-702201/)

Peacepunk 02-04-2009 05:50 AM

[SOLVED] A software to Mass-resize (lots of) pictures
 
Howdy Nixers & Nixettes;


What software would you propose to mass-resize lots of pics in a folder (That is, for me, before pushing to FTP on my gallery).

Preferably not gnome based, but the answer may be useful to others; I do have gtk installed, and qt3/kde3. It could probably be a plugin, but then please refer us to the meta-package containing it! I am not afraid of the CLI, but, hey, a GUI would be nice

I run Slackware 12.2 (Read: Don't bother, I should (hum) be able to compile)

Cheers!

Jean-Philippe

acid_kewpie 02-04-2009 06:01 AM

imagemagicks convert tool is very simple to use.

ilikejam 02-04-2009 06:01 AM

Hi.

ImageMagick is your friend here, and may already be installed on your host.
Have a look at either 'mogrify' or 'convert' here:
http://www.imagemagick.org/script/co...line-tools.php

Dave

Peacepunk 02-04-2009 06:15 AM

[Solved] mogrify -resize 50% <your_pic_here>.jpg
 

Real-life sample: mogrify -resize 35% -quality 50 dsc_*.jpg would render all you folder's 1.5meg pics into 150kb ones. More or less, perfect for a personal gallery that wouldn't suck on visitor's bandwidth. [Have you noticed where I live?]

Make backups!!


Thanks

Jean-Philippe

almatic 02-04-2009 08:00 AM

as gui you can use phatch (gtk), gimp (davids batch processor) or the kipi-modules in kde (from within digikam, gwenview, showfoto and so on).

Peacepunk 02-04-2009 08:29 AM

Sure, kipi was next on my list - there is a SlackBuilds.org script available for us slackers.

What's cool with CLI though, is that you may fiddle to find the right commandline to execute, but when you got it, it's a real breeze to automate the process - no further ctrl-click-apply-ok anymore!

rotate a picture counterclockwise with: mogrify -rotate -90 dsc_*.jpg

I thank you for Gimp - I may have overlooked these "batch" tools I heard about but never used; shame on me, I am quite a Gimp freak.

Cheers!

Jean-Philippe


All times are GMT -5. The time now is 12:25 AM.