You are not logged in.

#1 2008-10-22 22:32:21

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

Scaling multiple image files

Hi!
Im looking for a way to scale multiple image files...
Is there anny good app for this? (doesn't need to be GUI based apps)

Last edited by eldamar (2008-10-22 22:32:42)

Offline

#2 2008-10-22 22:36:35

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: Scaling multiple image files

imagemagick is the first thing that popped into my head.
Never used it though, but i keep hearing good stuff about it.

have a look at these imagemagick resisze examples

i'd imagine you using it along the line of

for file in ./*.jpg; do convert $file -resize 128x128 resized_$file; done #this conserves the aspect ratio... nice

Last edited by klixon (2008-10-22 22:42:55)


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2008-10-22 22:58:42

axel
Member
Registered: 2007-12-10
Posts: 77

Re: Scaling multiple image files

If you still want a GUI app you can try kipi-plugins along with an image viewer such as gwenview or digikam.

Offline

#4 2008-10-22 23:22:16

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Scaling multiple image files

Imagemagick, as klixon said. Also important is the filter, and quotes:

for file in *.jpg; do convert "$file" -resize 400 -filter Lanczos "$file"; done

Offline

#5 2008-10-23 00:02:36

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Scaling multiple image files

An added bonus of ImageMagick is that it's very fast even at the highest quality settings.

Offline

#6 2008-10-23 00:08:07

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: Scaling multiple image files

Another alternative for something with a GUI is Phatch:
http://aur.archlinux.org/packages.php?ID=13203

Offline

#7 2008-10-23 09:07:43

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

Re: Scaling multiple image files

Thanks for all the great tips!, imagemagick did the trick big_smile

Offline

Board footer

Powered by FluxBB