Revision as of 20:27, 15 May 2013 editAfsx64 (talk | contribs)5 editsm new version← Previous edit | Revision as of 14:02, 3 June 2013 edit undoA Fellow Editor (talk | contribs)Extended confirmed users3,962 edits →Features and capabilities: GUI command and reference and text tweak.Next edit → | ||
Line 20: | Line 20: | ||
==Features and capabilities== | ==Features and capabilities== | ||
The software mainly consists of a number of ] utilities for manipulating images. ImageMagick does not have a ] |
The software mainly consists of a number of ] utilities for manipulating images. ImageMagick does not have as robust a ] to edit images as do ] and ], but does include a basic native ] ] (called IMDisplay) for rendering and manipulating images and ] libraries for many programming languages. <blockquote>Executing: <br /> | ||
:<code>display</code><br /> | |||
...on a ] launches the native GUI.<ref>{{cite web|title=ImageMagick Native GUI|url=http://linux4hippos.blogspot.com/2006/10/imagemagick-native-gui.html|work=linux4hippos|publisher=blogspot.com|accessdate=3 June 2013|author=Подскачащия Хипопотам|date=1st October 2006}}</ref></blockquote> | |||
Otherwise, images may be edited directly by various command-line parameters without launching a GUI at all. The program uses ] to identify image ]s. For a full list of formats supported, one could execute: <blockquote><code>identify -list format</code></blockquote> | |||
A number of programs, such as ], ], ], and ], can use ImageMagick to create image ]s if it is installed. ImageMagick is also used by other programs, such as ], for converting images. | A number of programs, such as ], ], ], and ], can use ImageMagick to create image ]s if it is installed. ImageMagick is also used by other programs, such as ], for converting images. | ||
Line 51: | Line 54: | ||
Below are some other features of ImageMagick: | Below are some other features of ImageMagick: | ||
* Format conversion: convert an image from one format to another (e.g. ] to ]). | * Format conversion: convert an image from one format to another (e.g. ] to ]). | ||
* Transform: resize, rotate, crop, flip or trim an image. | * Transform: resize, rotate, crop, flip or trim an image. (Includes ] JPEG transformations. | ||
* Transparency: render portions of an image invisible. | * Transparency: render portions of an image invisible. | ||
* Draw: add shapes or text to an image. | * Draw: add shapes or text to an image. |
Revision as of 14:02, 3 June 2013
This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: "ImageMagick" – news · newspapers · books · scholar · JSTOR (August 2010) (Learn how and when to remove this message) |
[REDACTED] | |
Screenshot ImageMagick 6.0.6 in Knoppix 4.0.2 | |
Developer(s) | ImageMagick Studio LLC |
---|---|
Stable release | 6.8.5-6 / 10 May 2013; 11 years ago (2013-05-10) |
Preview release | 7.0.0-0 / 22 February 2013; 11 years ago (2013-02-22) |
Repository | |
Written in | C |
Operating system | Cross-platform |
Type | Image manipulation |
License | Apache 2.0 License |
Website | www |
ImageMagick is an open source 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
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 a basic native X Window GUI (called IMDisplay) for rendering and manipulating images and API libraries for many programming languages.
Executing:
display
...on a command line launches the native GUI.
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, one could execute:
identify -list format
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, 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
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
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
A fine control is provided for the dithering that occurs during color and shading alterations, including the ability to generate halftone dithering.
Liquid rescaling
In 2008, support for liquid rescaling was added. This feature allows, for example, rescaling 4:3 images into 16:9 images without distorting the image.
Artistic effects
ImageMagick includes a variety of filters and features intended to create artistic effects:
- Charcoal Sketch Transform
- Posterization
OpenCL
ImageMagick can use OpenCL to use an accelerated graphics card (GPU) for processing.
Other
Below are some other features of ImageMagick:
- Format conversion: convert an image from one format to another (e.g. PNG to JPEG).
- Transform: resize, rotate, crop, flip or trim an image. (Includes lossless JPEG transformations.
- Transparency: render portions of an image invisible.
- Draw: add shapes or text to an image.
- Decorate: add a border or frame to an image.
- Special effects: blur, sharpen, threshold, or tint an image.
- Animation: create a GIF animation sequence from a group of images.
- Text & comments: insert descriptive or artistic text in an image.
- Image identification: describe the format and attributes of an image.
- Composite: overlap one image over another.
- Montage: juxtapose image thumbnails on an image canvas.
- Generalized pixel distortion: correct for, or induce image distortions including perspective.
- Morphology of shapes: extract features, describe shapes and recognize patterns in images.
- Motion picture support: read and write the common image formats used in digital film work.
- Image calculator: apply a mathematical expression to an image or image channels.
- Discrete Fourier transform: implements the forward and inverse DFT.
- Color management: accurate color management with color profiles or in lieu of-- built-in gamma compression or expansion as demanded by the colorspace.
- High dynamic-range images: accurately represent the wide range of intensity levels found in real scenes ranging from the brightest direct sunlight to the deepest darkest shadows.
- Encipher or decipher an image: convert ordinary images into unintelligible gibberish and back again.
- Virtual pixel support: convenient access to pixels outside the image region.
- Large image support: read, process, or write mega-, giga-, or tera-pixel image sizes.
- Threads of execution support: ImageMagick is thread safe and most internal algorithms execute in parallel to take advantage of speed-ups offered by multi-core processor chips.
- Heterogeneous distributed processing: certain algorithms are OpenCL-enabled to take advantage of speed-ups offered by executing in concert across heterogeneous platforms consisting of CPUs, GPUs, and other processors.
- Distributed pixel cache: offload intermediate pixel storage to one or more remote servers.
- ImageMagick on the iPhone: convert, edit, or compose images on your iOS computing device such as the iPhone or iPad.
Distribution
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
GraphicsMagick is a fork of ImageMagick 5.5.2 made in 2002, emphasizing the cross-release stability of the programming API and user interface. GraphicsMagick emerged after irreconcilable differences emerged in the developers' group.
See also
References
- "ImageMagick License". ImageMagick Studio LLC. 2011. Retrieved 16 March 2011.
- Подскачащия Хипопотам (1st October 2006). "ImageMagick Native GUI". linux4hippos. blogspot.com. Retrieved 3 June 2013.
{{cite web}}
: Check date values in:|date=
(help) - PerlMagick, Perl API for ImageMagick
- "ImageMagick Changelog".
- "ImageMagick: Architecture". Retrieved 6 January 2010.
- "Introducing GraphicsMagick Project". ImageMagick-developer Mailing List. 15 March 2003.
Further reading
- Montabone, Sebastian (2010). Beginning Digital Image Processing: Using Free Tools for Photographers. Apress. ISBN 978-1-4302-2841-7.
External links
- Official website
- IM Examples — Examples of CLI Usage — provides lots of small examples demonstrating its vast range of capabilities.
- Fred's ImageMagick Scripts — provides a plethora of shell scripts using ImageMagick to do more complex tasks
Categories: