LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-16-2004, 05:25 AM   #1
oldstinkyfish
Member
 
Registered: Nov 2003
Posts: 148

Rep: Reputation: 15
image resize


How would I resize a bunch of images from the command line? I really don't want to do this one by one in the gimp. Basically I have a folder full of 64x64 icons, and I want to convert them into 32x32, then 16x16 etc.
PS: Thanks alot, to all the contributing members of Linux Questions, you have saved me lots of time and have made my life a whole lot easier.
PSS: To all newbee's: give the command line a chance, you'll learn to love it!
 
Old 12-16-2004, 05:35 AM   #2
oldstinkyfish
Member
 
Registered: Nov 2003
Posts: 148

Original Poster
Rep: Reputation: 15
it seems imageresize will do this and its gpl compatibel. Ifs funny what a simple search on google can do
 
Old 12-16-2004, 05:55 AM   #3
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
You can use "convert" from ImageMagick for a batch resize.
Code:
man convert
 
Old 12-16-2004, 05:57 AM   #4
oldstinkyfish
Member
 
Registered: Nov 2003
Posts: 148

Original Poster
Rep: Reputation: 15
[QUOTE]Originally posted by bathory
You can use "convert" from ImageMagick for a batch resize.
Code:
man convert
[/QUOTE

Yes im using it right now. Its funny, if I used a gui it would have took me an hour, with the command line a half a second, literally!

Its a big change from the accustomed MS way of life.
 
Old 12-16-2004, 06:00 AM   #5
NeptunEz
Member
 
Registered: Dec 2003
Location: Russia, Moscow
Distribution: Fedora Core 4
Posts: 52

Rep: Reputation: 15
mogrify -size 32x32 -resize 32x32 *.png
man mogrify

(mogrify is a part of ImageMagick)

Last edited by NeptunEz; 12-16-2004 at 06:01 AM.
 
  


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
Resize HDD image thesystem Linux - General 1 10-02-2005 03:28 PM
USB stick boot image resize problem beady Linux - Hardware 2 07-27-2005 02:36 PM
Resize Image using ImageMagick mddolloff Linux - Software 1 11-20-2004 05:07 PM
batch image resize and compression Darkfalz Linux - Software 3 08-01-2004 02:08 AM
Resize image mikeshn Linux - General 5 11-15-2003 11:43 AM


All times are GMT -5. The time now is 09:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration