Skip navigation.

ImageMagick

ImageMagick is a software suite used for image manipulation and display, supporting many image formats. ImageMagick software mainly uses command line interface for image manipulation. You can use this software to do tasks such as rotate, scale, resize, flip, shear, display and many more. You can do the image manipulation job much faster using command line interface and it is easier to use.

Now, I will walk you through the steps to install ImageMagick software suite. I assume you are running Fedora 8 on your computer.

1. Launch the terminal by clicking

Applications->System Tools->Terminal

2. Switch to super user mode. You will require the root password.

su -

3. Install ImageMagick

yum install ImageMagick

Please note that I and M are in upper case.
ImageMagick includes a number of command-line utilities for manipulating images. I will show you some commands to manipulate the image and illustrate the same with an example:

To display the image, use the following command on your terminal:

display filename

For example:

display /home/joe/flower.png

This command will display the flower.png image on your screen.

To resize the image, use the following command on your terminal:

convert -resize WidthXHeight source destination

For example:

convert -resize 200X200 /home/joe/flower.png /home/joe/flower_1.png

This command will resize the image to 200X200 and saves it to flower_1.png.

ImageMagick has a command using which you can change the format of the image. For example, you can change the .jpg image format to .png format. ImageMagick supports over 100 image formats. To convert the format of the image, use the following command on your terminal:

convert source destination

For example:

convert /home/joe/flower.jpg /home/joe/flower.png

This command will change the .jpg image format to .png format.

Using ImageMagick you can animate a particular format of images in a directory. To animate the images in a directory of .png formats, use the following command on your terminal:

animate /home/joe/*.png

ImageMagick software provides much more commands to manipulate and display the images. For more information about ImageMagick commands please visit the web site http://www.imagemagick.org/script/command-line-tools.php



I updated my profile picture

I updated my profile picture using the convert command. ImageMagick rocks on the command line. It saves one hell lot of time for routine image manipulation jobs like resizing and converting formats.

With warm regards,
Sudheer

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Images can be added to this post.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Use the special tag [adsense:format:group:channel] or [adsense:flexiblock:location] to display Google AdSense ads.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.