Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-04-2009, 06:50 AM
|
#1
|
Member
Registered: Apr 2006
Location: Cambodia
Distribution: Slackware 12.2 &... VirtualBox!
Posts: 51
Rep:
|
[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
Last edited by Peacepunk; 02-04-2009 at 07:17 AM.
Reason: [SOLVED]
|
|
|
02-04-2009, 07:01 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
imagemagicks convert tool is very simple to use.
|
|
|
02-04-2009, 07:01 AM
|
#3
|
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109
Rep:
|
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
|
|
|
02-04-2009, 07:15 AM
|
#4
|
Member
Registered: Apr 2006
Location: Cambodia
Distribution: Slackware 12.2 &... VirtualBox!
Posts: 51
Original Poster
Rep:
|
[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
Last edited by Peacepunk; 02-04-2009 at 09:00 AM.
Reason: Bolder!
|
|
|
02-04-2009, 09:00 AM
|
#5
|
Member
Registered: Mar 2007
Distribution: Debian
Posts: 547
Rep:
|
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).
|
|
|
02-04-2009, 09:29 AM
|
#6
|
Member
Registered: Apr 2006
Location: Cambodia
Distribution: Slackware 12.2 &... VirtualBox!
Posts: 51
Original Poster
Rep:
|
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
Last edited by Peacepunk; 02-04-2009 at 09:32 AM.
|
|
|
All times are GMT -5. The time now is 07:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|