CINXE.COM
GraphicsMagick Image Processing System
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta content="en" name="language"> <title>GraphicsMagick Image Processing System</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link media="screen" href="docutils-articles.css" type="text/css" rel="stylesheet"> <meta content="GraphicsMagick is a robust collection of tools and libraries to read, write, and manipulate an image in any of the more popular image formats including GIF, JPEG, PNG, PDF, and WebP. With GraphicsMagick you can create GIFs dynamically making it suitable for Web applications. You can also resize, rotate, sharpen, color reduce, or add special effects to an image and save your completed work in the same or differing image format. " name="description" > <meta content="GraphicsMagick, GM, PerlMagick, Perl Magick, Perl Magic, image processing, software development, TclMagick, Magick++" name="keywords" > </head> <body> <div class="banner"> <img src="images/gm-107x76.png" alt="GraphicMagick logo" width="107" height="76" /> <span class="title">GraphicsMagick</span> <form action="http://www.google.com/search"> <input type="hidden" name="domains" value="www.graphicsmagick.org" /> <input type="hidden" name="sitesearch" value="www.graphicsmagick.org" /> <span class="nowrap"><input type="text" name="q" size="25" maxlength="255" /> <input type="submit" name="sa" value="Search" /></span> </form> </div> <div class="navmenu"> <ul> <li><a href="index.html">Home</a></li> <li><a href="project.html">Project</a></li> <li><a href="download.html">Download</a></li> <li><a href="README.html">Install</a></li> <li><a href="Hg.html">Source</a></li> <li><a href="NEWS.html">News</a> </li> <li><a href="utilities.html">Utilities</a></li> <li><a href="programming.html">Programming</a></li> <li><a href="reference.html">Reference</a></li> </ul> </div> <main id="graphicsmagick-image-processing-system"> <h1 class="title">GraphicsMagick Image Processing System</h1> <!-- -*- mode: rst -*- --> <!-- This text is in reStucturedText format, so it may look a bit odd. --> <!-- See http://docutils.sourceforge.net/rst.html for details. --> <table> <colgroup> <col style="width: 32%" /> <col style="width: 68%" /> </colgroup> <tbody> <tr><td><p>Current Release</p></td> <td><p>1.3.45 (Released August 27, 2024) <a class="reference external" href="https://sourceforge.net/projects/graphicsmagick/files/">download release</a></p></td> </tr> <tr><td><p>Development Snapshots</p></td> <td><p>(Updated frequently) <a class="reference external" href="https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick-snapshots/">download development snapshots</a></p></td> </tr> <tr><td><p>Mercurial Repository</p></td> <td><p>(Updated frequently) <a class="reference external" href="https://foss.heptapod.net/graphicsmagick/graphicsmagick">visit Mercurial repository</a></p></td> </tr> </tbody> </table> <p>Check <a class="reference external" href="http://www.GraphicsMagick.org/">http://www.GraphicsMagick.org/</a> or <a class="reference external" href="https://graphicsmagick.sourceforge.io/index.html">https://graphicsmagick.sourceforge.io/index.html</a> for the latest version of this page.</p> <p>GraphicsMagick is the swiss army knife of image processing. Comprised of 284K physical lines (according to David A. Wheeler's <a class="reference external" href="https://dwheeler.com/sloccount/">SLOCCount</a>) of source code in the base package, it provides a robust and efficient collection of tools and libraries which support reading, writing, and manipulating an image in over 92 major formats including important formats like DPX, GIF, JPEG, JPEG-2000, JXL, PNG, PDF, PNM, TIFF, and WebP.</p> <p>Image processing is multi-threaded using <a class="reference external" href="http://www.openmp.org/">OpenMP</a> (<a class="reference external" href="OpenMP.html">read about OpenMP in GraphicsMagick</a>) so that CPU-bound tasks scale linearly as processor cores are added. <a class="reference external" href="http://www.openmp.org/">OpenMP</a> support requires compilation with GCC 4.2 (or later), or use of any C compiler supporting at least the <a class="reference external" href="http://www.openmp.org/">OpenMP</a> 2.0 specification.</p> <p>GraphicsMagick is quite portable, and compiles under almost every general purpose operating system that runs on 32-bit or 64-bit CPUs. GraphicsMagick is available for virtually any Unix or Unix-like system, including Linux. It also runs under <a class="reference external" href="INSTALL-windows.html">Windows</a> Vista and later (Vista, 7, 8.X, 10, 11), and MacOS-X.</p> <p>GraphicsMagick supports huge images and has been tested with gigapixel-size images. GraphicsMagick can create new images on the fly, making it suitable for building dynamic Web applications. GraphicsMagick may be used to resize, rotate, sharpen, color reduce, or add special effects to an image and save the result in the same or different image format. Image processing operations are available from the command line, as well as through C, C++, Lua, Perl, PHP, Python, Tcl, Ruby, Windows .NET, or Windows COM programming interfaces. With some modification, language extensions for ImageMagick may be used.</p> <p>GraphicsMagick is originally derived from <a class="reference external" href="http://www.imagemagick.org/">ImageMagick</a> 5.5.2 as of November 2002 but has been completely independent of the ImageMagick project since then. Since the fork from ImageMagick many improvements have been made (see <a class="reference external" href="NEWS.html">NEWS</a>) by many <a class="reference external" href="authors.html">authors</a> using an open development model but without breaking the API or utilities operation.</p> <p>Here are some reasons to prefer GraphicsMagick over ImageMagick or other popular software:</p> <blockquote> <ul class="simple"> <li><p>GM is more efficient than ImageMagick so it gets the job done faster using fewer resources.</p></li> <li><p>GM is much smaller and lighter than ImageMagick (3-5X smaller installation footprint).</p></li> <li><p>GM supports classic ImageMagick interfaces such as 'convert' whereas ImageMagick has now removed them.</p></li> <li><p>GM has been used to process billions of files at the world's largest photo sites (e.g. <a class="reference external" href="http://www.kitchensoap.com/2009/04/03/slides-from-web20-expo-2009-and-somethin-else-interestin/">Flickr</a> and <a class="reference external" href="http://codeascraft.etsy.com/2010/07/09/batch-processing-millions-of-images/">Etsy</a>).</p></li> <li><p>GM does not conflict with other installed software.</p></li> <li><p>GM suffers from fewer security issues and exploits than ImageMagick.</p></li> <li><p>GM participates in Google's <a class="reference external" href="https://github.com/google/oss-fuzz">oss-fuzz</a> project (since February, 2018).</p></li> <li><p>GM <a class="reference external" href="http://www.valgrind.org/">valgrind</a>'s 100% clean (memcheck and helgrind).</p></li> <li><p>GM passes rigorous memory error testing using <a class="reference external" href="https://github.com/google/sanitizers/wiki/AddressSanitizer">ASan</a>.</p></li> <li><p>GM passes undefined behavior testing using <a class="reference external" href="https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html">UBSan</a>.</p></li> <li><p>GM comes with a comprehensive <a class="reference external" href="GraphicsMagick.html">manual page</a>.</p></li> <li><p>GM provides API and ABI stability and managed releases that you can count on (ImageMagick does not).</p></li> <li><p>GM provides detailed yet comprehensible <a class="reference external" href="ChangeLog.html">ChangeLog</a> and <a class="reference external" href="NEWS.html">NEWS</a> files (ImageMagick does not).</p></li> <li><p>GM is available for free, and may be used to support both open and proprietary applications.</p></li> <li><p>GM is distributed under an X11-style license (<a class="reference external" href="http://opensource.org/licenses/MIT">MIT License</a>), approved by the <a class="reference external" href="http://www.opensource.org/">Open Source Initiative</a>, recommended for use by the <a class="reference external" href="http://www.osscc.net/en/index.html">OSSCC</a>, and compatible with the <a class="reference external" href="https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses">GNU GPL</a>.</p></li> <li><p>GM source code is managed in <a class="reference external" href="https://www.mercurial-scm.org/">Mercurial</a>, a distributed source control management tool which supports management of local changes. The repository history goes back to 1998.</p></li> <li><p>GM has 0.00 (zero) defects per 1000 lines of code (352,673 total lines included) according to <a class="reference external" href="https://scan.coverity.com/projects/graphicsmagick">Coverity Analysis Metrics</a> on July 26th, 2024.</p></li> <li><p>GM developers contribute to other free projects for the public good.</p></li> </ul> </blockquote> <p>GraphicsMagick is <a class="reference external" href="Copyright.html">copyrighted</a> by the GraphicsMagick Group as well as many others.</p> <p>Here are just a few examples of what GraphicsMagick can do:</p> <blockquote> <ul class="simple"> <li><p>Convert an image from one format to another (e.g. TIFF to JPEG)</p></li> <li><p>Resize, rotate, sharpen, color reduce, or add special effects to an image</p></li> <li><p>Create a montage of image thumbnails</p></li> <li><p>Create a transparent image suitable for use on the Web</p></li> <li><p>Compare two images</p></li> <li><p>Turn a group of images into a GIF animation sequence</p></li> <li><p>Create a composite image by combining several separate images</p></li> <li><p>Draw shapes or text on an image</p></li> <li><p>Decorate an image with a border or frame</p></li> <li><p>Describe the format and characteristics of an image</p></li> </ul> </blockquote> </main> <hr class="docutils"> <div class="document"> <p><a href="Copyright.html">Copyright</a> 漏 GraphicsMagick Group 2002-2025<!--SPONSOR_LOGO--></p> </div> </main> </body> </html>