$ convert foo.jpg -resize 80% resized.jpg will get you a smaller image.
You could also do this. $ convert photograph.png -resize 1024x768 o.jpg Yes, convert is very smart. But what to do when you do not wish to preserve the aspect ratio of the image? The image will get distorted but sometimes I want that. I know it is bad but I want it! I was looking around for a very long time and then Bingo! $ convert image.jpg -resize \!123x80 distorted.jpg If you prefix with an exclamation mark convert will give you what you ask. I get reminded of Oscar Wilde. "When God wishes to punish, he answers the prayers of men." -Girish -- Gayatri Hitech web: http://gayatri-hitech.com SpamCheetah Spam filter: http://spam-cheetah.com _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
