»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 07-06-2003, 09:50 PM   #1 (permalink)
Registered User
 
crouse's Avatar
 
Join Date: Jun 2002
Location: Iowa
Posts: 2,527
crouse is on a distinguished road
Send a message via ICQ to crouse
Linux -- Using Image Magick

Some people ask me why I use Linux. Here is a prime example of a huge time saver. (And I use this). Just one more reason I use Linux.

Often I have a folder (directory) full of images that I need thumbnails for. Instead of opening each image up in a photo editor (the gimp) I usually opt to use the terminal window and run a simple command line command.

I modified the some code I posted previously in another post to produce better results.......... now your thumbnails will be 100 pixels wide and no more than 100 tall.

for i in *.jpg ; do convert -size 100x100 $i -resize 100x100 tn_$i ; done

You can read more about all the cool stuff image magick can do via the command line here...... (this page relates to converting to resizing images)
http://www.imagemagick.org/www/convert.html

More Image Magick stuff
http://www.imagemagick.org/www/utilities.html

Want to flip every image in the directory vertically?? Run this command:
for i in *.jpg ; do convert -flip $i flip_$i ; done

How about flipping them horizontally??
for i in *.jpg ; do convert -flop $i flop_$i ; done

Much more can be done. I've just scratched the surface.

Hope this helps someone, sometime

__________________
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners. --- Author Unknown.
crouse is offline   Reply With Quote
Old 07-07-2003, 12:10 PM   #2 (permalink)
Registered User
 
pbharris's Avatar
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 2,403
pbharris is on a distinguished road
Send a message via ICQ to pbharris Send a message via AIM to pbharris Send a message via Yahoo to pbharris
f'in groovy!!


thanks crouse
__________________
I don't use Linux because I hate Windows (which I do) I use Linux because I like it.
play mtrek! telnet://mtrek.com:23
Odds are very good there are several spelling mistakes in this post.
pbharris is offline   Reply With Quote
Old 07-07-2003, 12:13 PM   #3 (permalink)
Guest
Guest
 
Posts: n/a
You have uncovered one of the backend utilities that PhotoPost is based upon.

Robert Richmond
  Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 03:21 AM.