Difference between revisions of "ImageMagick"

From Christoph's Personal Wiki
Jump to: navigation, search
(External links)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
'''ImageMagick''' is an image manipulation software suite for a wide variety of formats. ImageMagick's features are utilized on a number of websites, such as Wikipedia, whose MediaWiki software uses ImageMagick to process and present images. A X Window GUI front end for ImageMagick exists, in additon to a command line version.
 
'''ImageMagick''' is an image manipulation software suite for a wide variety of formats. ImageMagick's features are utilized on a number of websites, such as Wikipedia, whose MediaWiki software uses ImageMagick to process and present images. A X Window GUI front end for ImageMagick exists, in additon to a command line version.
 
[[GraphicsMagick]] is a fork of ImageMagick 5.5.2 emphasising the cross-release stability of both the programming API and user interface.
 
  
 
==Command-line utilities==
 
==Command-line utilities==
Line 16: Line 14:
 
;[http://www.imagemagick.org/script/stream.php stream] : a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making stream desirable when working with large images or when you require raw pixel components.
 
;[http://www.imagemagick.org/script/stream.php stream] : a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making stream desirable when working with large images or when you require raw pixel components.
  
== See also ==
+
==Examples==
* [[GD Graphics Library]]
+
*psd2png: Convert Adobe Photoshop (PSD) files to PNG:
* [[Netpbm]]
+
convert foo.psd -thumbnail 640x640 foo.png
 +
*Flatten layers of a PSD file:
 +
convert foo.psd -flatten foo_flat.jpg
 +
 
 +
*Convert an image file to a 32x32 PNG (useful for favicons):
 +
convert foo.png -resize 32x32 favicon.png
 +
 
 +
==See also==
 +
*[[GD Graphics Library]]
 +
*[[Netpbm]]
  
== External links ==
+
==External links==
* [http://www.imagemagick.org ImageMagick] - Official project homepage
+
*[http://www.imagemagick.org ImageMagick] — official project homepage
* [http://pecl.php.net/package/imagick imagick] — provides a wrapper to the ImageMagick/GraphicsMagick library for [[PHP]].
+
*[http://www.imagemagick.org/Usage/ Examples of ImageMagick Usage]
* [http://www.graphicsmagick.org GraphicsMagick homepage] - A fork of ImageMagick
+
*[[:wikipedia:ImageMagick]]
* [http://www.bbips.org/ Bash Batch Image Processing Script] - Bash script that simplifies ImageMagick manipulation from the commandline
+
*[http://pecl.php.net/package/imagick imagick] — provides a wrapper to the ImageMagick/GraphicsMagick library for [[PHP]].
* [http://www.cit.gu.edu.au/~anthony/graphics/imagick6/ Anthony Thyssen's] - Examples of command line ImageMagick Usage
+
*[http://sourceforge.net/projects/bbips/ Bash Batch Image Processing Script] — [[Bash]] script that simplifies ImageMagick manipulation from the commandline. Maintained by the guys at [http://www.bashscripts.org/ bashscripts.org]
 +
*[http://www.imagemagick.org/Usage/ Anthony Thyssen's] — examples of command line ImageMagick Usage
 +
*[http://www.ibm.com/developerworks/linux/library/l-graf/ Graphics from the command line]
 +
*[http://www.linux.com/articles/44594 Advanced image editing from the command line with ImageMagick]
  
 
[[Category:Graphics software]]
 
[[Category:Graphics software]]

Latest revision as of 15:04, 26 February 2011

ImageMagick is an image manipulation software suite for a wide variety of formats. ImageMagick's features are utilized on a number of websites, such as Wikipedia, whose MediaWiki software uses ImageMagick to process and present images. A X Window GUI front end for ImageMagick exists, in additon to a command line version.

Command-line utilities

animate 
animates an image sequence on any X server.
compare 
mathematically and visually annotate the difference between an image and its reconstruction.
composite 
overlaps one image over another.
conjure 
interprets and executes scripts written in the Magick Scripting Language (MSL).
convert 
convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
display 
displays an image or image sequence on any X server.
identify 
describes the format and characteristics of one or more image files.
import 
saves any visible window on an X server and outputs it as an image file. You can capture a single window, the entire screen, or any rectangular portion of the screen.
mogrify 
resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. Mogrify overwrites the original image file, whereas, convert writes to a different image file.
montage 
create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a border, frame, image name, and more.
stream 
a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making stream desirable when working with large images or when you require raw pixel components.

Examples

  • psd2png: Convert Adobe Photoshop (PSD) files to PNG:
convert foo.psd -thumbnail 640x640 foo.png
  • Flatten layers of a PSD file:
convert foo.psd -flatten foo_flat.jpg
  • Convert an image file to a 32x32 PNG (useful for favicons):
convert foo.png -resize 32x32 favicon.png

See also

External links