Re: SERIOUSLY OT STREAM EDITING IMAGES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Tony Placilla wrote:
On Tue, Jul 15, 2008 at  3:57 PM, in message <487D013D.9070202@xxxxxxxxxxxx>,
John R Pierce <pierce@xxxxxxxxxxxx> wrote:
Chris Geldenhuis wrote:
Hi All,

I have been Googling my head off but cannot find a method to stream edit all the images in a directory and to resize them. I have a large number of images of up to 3GB in size that I want to put in albums on a website, but before I do this I need to resize them to a more realistic configuration.

I know how to do this manually with the GIMP but it becomes tedious for more than a few images.
imagemagick can do this, its a command line batch image editor. its a little tricky to figure out. I note its in the base Centos5 repository.

docs on http://www.imagemagick.org/script/index.php


for example:

mogrify -size 480x320 *.jpg

will convert all the jpgs to 480x320

mogrify -size 480x320> *.jpg

will resize everything bigger than 480x320 down & leave the smaller stuff alone.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

Once again thanks to all who responded - ImageMagick is just that magic.

ChrisG
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux