ImageMagick

From Wikipedia, the free encyclopedia - View original article

ImageMagick
ImageMagick logo
Developer(s)ImageMagick Studio LLC
Stable release6.8.6-9 / 25 August 2013; 5 months ago (2013-08-25)
Preview release7.0.0-0 / 22 February 2013; 11 months ago (2013-02-22)
Written inC
Operating systemCross-platform
TypeImage manipulation
LicenseApache 2.0 License
Websitewww.imagemagick.org
 
Jump to: navigation, search
ImageMagick
ImageMagick logo
Developer(s)ImageMagick Studio LLC
Stable release6.8.6-9 / 25 August 2013; 5 months ago (2013-08-25)
Preview release7.0.0-0 / 22 February 2013; 11 months ago (2013-02-22)
Written inC
Operating systemCross-platform
TypeImage manipulation
LicenseApache 2.0 License
Websitewww.imagemagick.org

ImageMagick is an open source[1] software suite for displaying, converting, and editing raster image files. It can read and write over 200 image file formats. ImageMagick is licensed under the Apache 2.0 license.

Features and capabilities[edit]

The software mainly consists of a number of command-line interface utilities for manipulating images. ImageMagick does not have as robust a graphical user interface to edit images as do Adobe Photoshop and GIMP, but does include — for UNIX-like Operating Systems — a basic native X Window GUI (called IMDisplay) for rendering and manipulating images and API libraries for many programming languages.

Executing:

display
...on a UNIX-like OS's command line launches the native GUI.[2]

Otherwise, images may be edited directly by various command-line parameters without launching a GUI at all. The program uses magic numbers to identify image file formats.

For a full list of formats supported execute:

identify -list format

...via a UNIX-like OS.

A number of programs, such as Drupal, MediaWiki, phpBB, and vBulletin, can use ImageMagick to create image thumbnails if it is installed. ImageMagick is also used by other programs, such as LyX, for converting images.

ImageMagick has a fully integrated Perl API called PerlMagick,[3] as well as many other APIs: G2F (Ada), MagickCore (C), MagickWand (C), ChMagick (Ch), ImageMagickObject (COM+), Magick++ (C++), JMagick (Java), L-Magick (Lisp), NMagick (Neko/Haxe), MagickNet (.NET), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), IMagick (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK).

File format conversion[edit]

One of the basic and thoroughly-implemented features of ImageMagick is its ability to efficiently and accurately convert images between different file formats (it uses the command "convert" to achieve this).

Color quantization[edit]

The number of colors in an image can be reduced to an arbitrary number and this is done by intelligently weighing the most prominent color values present among the pixels of the image. Note that many other image handling applications do not support a color palette of an arbitrary number of colors. If, for example, one reduces an image to 13 colors via ImageMagick, some applications will open it but some will regard it as corrupted.

A related capability is the posterization artistic effect, which also reduces the number of colors represented in an image. The difference between this and standard color quantization is that while in standard quantization the final palette is selected based upon a weighting of the prominence of existing colors in the image, posterization creates a palette of colors smoothly distributed across the spectrum represented in the image. Whereas with standard color quantization all of the final color values are ones that were in the original image, the color values in a posterized image may not have been present in the original image but are in between the original color values.

Dithering[edit]

A fine control is provided for the dithering that occurs during color and shading alterations, including the ability to generate halftone dithering.

Liquid rescaling[edit]

In 2008, support for liquid rescaling was added.[4] This feature allows, for example, rescaling 4:3 images into 16:9 images without distorting the image.

Artistic effects[edit]

ImageMagick includes a variety of filters and features intended to create artistic effects:

OpenCL[edit]

ImageMagick can use OpenCL to use an accelerated graphics card (GPU) for processing.[5]

Other[edit]

Below are some other features of ImageMagick:

Distribution[edit]

ImageMagick is cross-platform, and runs on Microsoft Windows and Unix-like systems including Mac OS X, GNU/Linux, Solaris, and FreeBSD. The project's source code can be compiled for other systems, including AmigaOS 4.0 and MorphOS.

Related software[edit]

GraphicsMagick is a fork of ImageMagick 5.5.2 made in 2002, emphasizing the cross-release stability of the programming API and command-line options. GraphicsMagick emerged after irreconcilable differences emerged in the developers' group.[6]

See also[edit]

References[edit]

  1. ^ "ImageMagick License". ImageMagick Studio LLC. 2011. Retrieved 2011-03-16. 
  2. ^ Подскачащия Хипопотам (1 October 2006). "ImageMagick Native GUI". linux4hippos. blogspot.com. Retrieved 3 June 2013. 
  3. ^ PerlMagick, Perl API for ImageMagick
  4. ^ "ImageMagick Changelog". 
  5. ^ "ImageMagick: Architecture". Retrieved 2010-01-06. 
  6. ^ "Introducing GraphicsMagick Project". ImageMagick-developer Mailing List. 15 March 2003. 

Further reading[edit]

External links[edit]