LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-01-2006, 03:07 AM   #1
xzc
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
Automatic image scaling down


Hello,
I'm searching for a program to automatically scaling down of ALL the images on a directory to a certain extension - if bigger... command line or graphic is the same..

I know I could use GIMP on each one, but I am a little bit lazy and, as I suppose I am not the only lazy guy of the planet, someone must already have done something like this ;-)

cheers...
xzc
 
Old 04-01-2006, 03:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
use the "convert" tool which comes as part of ImageMagick
 
Old 04-01-2006, 10:15 AM   #3
xzc
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I saw it... but it is quite too complex.. e.g. if I say convert -size 800 it will convert to 800x... also images that are e.g. 200x100, while I want to resize also images that are gibber.
Furthermore if I have some images rotated it will not "understand" that, ending with different resolutions in the output.
I could use a percentage, but again it means I know the original resolution of the photoes in input, thing that I don't always know... :-((
 
Old 04-01-2006, 10:52 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well that's where bash scripting comes into it. use other imiagemagick tools to inspect images and process them accoridnlgy. it sounds like you want some psychic tool to magically know what you want to do.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU Scaling StevenO General 7 02-15-2006 07:28 PM
XPutImage with zoom/scaling AngryLlama Programming 1 07-25-2005 02:12 AM
Font scaling issues oudent Slackware 7 07-25-2004 02:07 PM
scaling the display in X nowonmai Linux - Software 3 02-06-2004 01:32 AM
scaling background image - Slackware, WindowMaker itsjustme Slackware 5 08-11-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration