Tuesday, April 22, 2008

Pictures conversion with ImageMagick

My Environment: RH FC8 Linux, i386
The package I'm using: ImageMagick-6.3.5.9-1.fc8

There are plenty of choice to convert a picture from one format to another, ImageMagick is an option if you want to do the conversion in command line and run in background.

Example:
- To convert a file from jpg to png
convert photo.jpg photo.png

- Convert and change the size
convert -size 320x240 photo.jpg photo.png

1 comment:

Miral Amin said...

Hi,

Can u tell me about Image magic i want to use it to resize the image in my webapplication of java.

Thanks
Miral Amin