|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| .github/ | | 03-May-2024 | - | 283 | 228 |
| .travis/ | | 03-May-2024 | - | 15 | 10 |
| Magick++/ | | 03-May-2024 | - | 36,381 | 26,910 |
| MagickCore/ | | 03-May-2024 | - | 251,413 | 174,924 |
| MagickWand/ | | 03-May-2024 | - | 64,818 | 40,678 |
| PerlMagick/ | | 03-May-2024 | - | 70,471 | 52,626 |
| api_examples/ | | 03-May-2024 | - | 381 | 166 |
| build/ | | 03-May-2024 | - | 12 | 7 |
| coders/ | | 03-May-2024 | - | 169,197 | 129,298 |
| config/ | | 03-May-2024 | - | 33,520 | 26,528 |
| configs/ | | 03-May-2024 | - | 6,636 | 2,882 |
| filters/ | | 03-May-2024 | - | 312 | 202 |
| images/ | | 03-May-2024 | - | 4 | 4 |
| m4/ | | 03-May-2024 | - | 11,763 | 10,682 |
| scripts/ | | 03-May-2024 | - | 2,476 | 1,743 |
| tests/ | | 03-May-2024 | - | 9,881 | 8,613 |
| utilities/ | | 03-May-2024 | - | 4,759 | 4,352 |
| www/ | | 03-May-2024 | - | 126,160 | 105,901 |
| .gitignore | D | 03-May-2024 | 1.6 KiB | 90 | 83 |
| .travis.yml | D | 03-May-2024 | 2.2 KiB | 47 | 39 |
| AUTHORS.txt | D | 03-May-2024 | 5.7 KiB | 158 | 117 |
| Android.bp | D | 03-May-2024 | 564 | 29 | 27 |
| AppRun | D | 03-May-2024 | 1.2 KiB | 32 | 20 |
| ChangeLog | D | 03-May-2024 | 80.6 KiB | 1,770 | 1,354 |
| ImageMagick.spec.in | D | 03-May-2024 | 10.8 KiB | 296 | 230 |
| Install-mac.txt | D | 03-May-2024 | 2.9 KiB | 99 | 58 |
| Install-unix.txt | D | 03-May-2024 | 27.6 KiB | 662 | 505 |
| Install-vms.txt | D | 03-May-2024 | 1.1 KiB | 34 | 23 |
| Install-windows.txt | D | 03-May-2024 | 1.7 KiB | 50 | 35 |
| LICENSE | D | 03-May-2024 | 12.2 KiB | 104 | 64 |
| METADATA | D | 03-May-2024 | 397 | 19 | 18 |
| Magickshr.opt | D | 03-May-2024 | 8.4 KiB | 213 | 212 |
| Make.com | D | 03-May-2024 | 7.5 KiB | 264 | 257 |
| Makefile.am | D | 03-May-2024 | 11.5 KiB | 394 | 271 |
| Makefile.in | D | 03-May-2024 | 1.2 MiB | 13,577 | 12,178 |
| NEWS.txt | D | 03-May-2024 | 22 | 2 | 1 |
| NOTICE | D | 03-May-2024 | 11.7 KiB | 241 | 178 |
| OWNERS | D | 03-May-2024 | 46 | 2 | 1 |
| Platforms.txt | D | 03-May-2024 | 6.4 KiB | 237 | 142 |
| QuickStart.txt | D | 03-May-2024 | 4.3 KiB | 137 | 93 |
| README.md | D | 03-May-2024 | 9.2 KiB | 76 | 54 |
| README.txt | D | 03-May-2024 | 7.3 KiB | 141 | 119 |
| aclocal.m4 | D | 03-May-2024 | 46.1 KiB | 1,282 | 1,167 |
| androidconfigure | D | 03-May-2024 | 1 KiB | 42 | 29 |
| azure-pipelines.yml | D | 03-May-2024 | 438 | 18 | 17 |
| common.shi.in | D | 03-May-2024 | 1.2 KiB | 28 | 26 |
| configure | D | 03-May-2024 | 1.1 MiB | 39,666 | 33,877 |
| configure.ac | D | 03-May-2024 | 128.9 KiB | 4,085 | 3,644 |
| imagemagick.desktop | D | 03-May-2024 | 170 | 9 | 8 |
| index.html | D | 03-May-2024 | 17.5 KiB | 289 | 263 |
| magick.sh.in | D | 03-May-2024 | 1.5 KiB | 44 | 19 |
| version.sh | D | 03-May-2024 | 1.7 KiB | 52 | 18 |
| winpath.sh | D | 03-May-2024 | 1.7 KiB | 72 | 53 |
README.md
1# ImageMagick [![Build Status](https://travis-ci.org/ImageMagick/ImageMagick.svg?branch=master)](https://travis-ci.org/ImageMagick/ImageMagick) [![Build status](https://ci.appveyor.com/api/projects/status/jk7yr5plamnuh9g6/branch/master?svg=true)](https://ci.appveyor.com/project/dlemstra/imagemagick-windows/branch/master) [![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/imagemagick.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:imagemagick)
2
3<p align="center">
4<img align="center" src="https://imagemagick.org/image/wizard.png" alt="ImageMagick logo" width="265"/>
5</p>
6
7Use [ImageMagick®](https://imagemagick.org/) to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
8
9#### What is ImageMagick?
10
11The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: 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), magick (R), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images dynamically and automagically.
12
13ImageMagick utilizes multiple computational threads to increase performance and can read, process, or write mega-, giga-, or tera-pixel image sizes.
14
15ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you may use, copy, modify, and distribute in both open and proprietary applications. It is distributed under a derived Apache 2.0 [license](https://imagemagick.org/script/license.php).
16
17The ImageMagick development process ensures a stable API and ABI. Before each ImageMagick release, we perform a comprehensive security assessment that includes memory error and thread data race detection to prevent security vulnerabilities.
18
19The current release is the ImageMagick 7.0.9 series. It runs on Linux, Windows, Mac Os X, iOS, Android OS, and others.
20
21The authoritative ImageMagick web site is https://imagemagick.org. The authoritative source code repository is https://github.com/ImageMagick. We maintain a source code mirror at https://gitlab.com/ImageMagick.
22
23We continue to maintain the legacy release of ImageMagick, version 6, at https://legacy.imagemagick.org.
24
25#### Features and Capabilities
26
27Here are just a few examples of what ImageMagick can do:
28
29* [Format conversion](https://imagemagick.org/script/convert.php): convert an image from one [format](https://imagemagick.org/script/formats.php) to another (e.g. PNG to JPEG).
30* [Transform](https://imagemagick.org/Usage/resize/): resize, rotate, deskew, crop, flip or trim an image.
31* [Transparency](https://imagemagick.org/Usage/masking/): render portions of an image invisible.
32* [Draw](https://imagemagick.org/Usage/draw/): add shapes or text to an image.
33* [Decorate](https://imagemagick.org/Usage/crop/): add a border or frame to an image.
34* [Special effects](https://imagemagick.org/Usage/blur/): blur, sharpen, threshold, or tint an image.
35* [Text & comments](https://imagemagick.org/Usage/text/): insert descriptive or artistic text in an image.
36* [Image gradients](https://imagemagick.org/script/gradient.php): create a gradual blend of one color whose shape is horizontal, vertical, circular, or ellipical.
37* [Image identification](https://imagemagick.org/script/identify.php): describe the format and attributes of an image.
38* [Composite](https://imagemagick.org/script/composite.php): overlap one image over another.
39* [Montage](https://imagemagick.org/script/montage.php): juxtapose image thumbnails on an image canvas.
40* [Generalized pixel distortion](https://imagemagick.org/Usage/distorts/): correct for, or induce image distortions including perspective.
41* [Morphology of shapes](https://imagemagick.org/Usage/morphology/): extract features, describe shapes and recognize patterns in images.
42* [Delineate image features](https://imagemagick.org/Usage/transform/#vision): Canny edge detection, mean-shift, Hough lines.
43* [Motion picture support](https://imagemagick.org/script/motion-picture.php): read and write the common image formats used in digital film work.
44* [Image calculator](https://imagemagick.org/script/fx.php): apply a mathematical expression to an image or image channels.
45* [Connected component labeling](https://imagemagick.org/script/connected-components.php): uniquely label connected regions in an image.
46* [Discrete Fourier transform](https://imagemagick.org/Usage/fourier/): implements the forward and inverse [DFT](http://en.wikipedia.org/wiki/Discrete_Fourier_transform).
47* [Perceptual hash](http://www.fmwconcepts.com/misc_tests/perceptual_hash_test_results_510/index.html): maps visually identical images to the same or similar hash-- useful in image retrieval, authentication, indexing, or copy detection as well as digital watermarking.
48* [Complex text layout](https://en.wikipedia.org/wiki/Complex_text_layout) bidirectional text support and shaping.
49* [Color management](https://imagemagick.org/script/color-management.php): accurate color management with color profiles or in lieu of-- built-in gamma compression or expansion as demanded by the colorspace.
50* [High dynamic-range images](https://imagemagick.org/script/high-dynamic-range.php): accurately represent the wide range of intensity levels found in real scenes ranging from the brightest direct sunlight to the deepest darkest shadows.
51* [Encipher or decipher an image](https://imagemagick.org/script/cipher.php): convert ordinary images into unintelligible gibberish and back again.
52* [Virtual pixel support](https://imagemagick.org/script/architecture.php#virtual-pixels): convenient access to pixels outside the image region.
53* [Large image support](https://imagemagick.org/script/architecture.php#tera-pixel): read, process, or write mega-, giga-, or tera-pixel image sizes.
54* [Threads of execution support](https://imagemagick.org/script/architecture.php#threads): ImageMagick is thread safe and most internal algorithms are OpenMP-enabled to take advantage of speed-ups offered by multicore processor chips.
55* [Distributed pixel cache](https://imagemagick.org/script/distribute-pixel-cache.php): offload intermediate pixel storage to one or more remote servers.
56* [Heterogeneous distributed processing](https://imagemagick.org/script/architecture.php#distributed): 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.
57* [ImageMagick on the iPhone](https://imagemagick.org/script/download.php#iOS): convert, edit, or compose images on your iPhone.
58
59[Examples of ImageMagick Usage](https://imagemagick.org/Usage/), shows how to use ImageMagick from the command-line to accomplish any of these tasks and much more. Also, see [Fred's ImageMagick Scripts](http://www.fmwconcepts.com/imagemagick/): a plethora of command-line scripts that perform geometric transforms, blurs, sharpens, edging, noise removal, and color manipulations. With [Magick.NET](https://github.com/dlemstra/Magick.NET), use ImageMagick without having to install ImageMagick on your server or desktop.
60
61#### News
62
63Now that ImageMagick [version 7](https://imagemagick.org) is released, we continue to maintain the legacy release of ImageMagick, [version 6](https://legacy.imagemagick.org). Learn how ImageMagick version 7 differs from previous versions with our [porting guide](https://imagemagick.org/script/porting.php).
64
65ImageMagick best practices **strongly** encourages you to configure a [security policy](https://imagemagick.org/script/security-policy.php) that suits your local environment.
66
67As an analog to linear (RGB) and non-linear (sRGB) color colorspaces, as of ImageMagick 7.0.7-17, we introduce the LinearGray colorspace. Gray is non-linear grayscale and LinearGray is linear (e.g. -colorspace linear-gray).
68
69Want more performance from ImageMagick? Try these options:
70
71 * Add more memory to your system, see the pixel cache;
72 * Add more cores to your system, see threads of execution support;
73 * push large images to a solid-state drive, see large image support.
74
75If these options are prohibitive, you can reduce the quality of the image results. The default build is Q16 HDRI. If you disable HDRI, you use half the memory and instead of predominately floating point operations, you use the typically more efficient integer operations. The tradeoff is reduced precision and you cannot process out of range pixel values (e.g. negative). If you build the Q8 non-HDRI version of ImageMagick, you again reduce the memory requirements in half-- and once again there is a tradeoff, even less precision and no out of range pixel values. For a Q8 non-HDRI build of ImageMagick, use these configure script options: --with-quantum-depth=8 --disable-hdri.
76
README.txt
1Introduction to ImageMagick
2
3 ImageMagick® is a software suite to create, edit, compose, or convert
4 bitmap images. It can read and write images in a variety of formats (over
5 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript,
6 PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort,
7 shear and transform images, adjust image colors, apply various special
8 effects, or draw text, lines, polygons, ellipses and Bézier curves.
9
10 The functionality of ImageMagick is typically utilized from the command
11 line or you can use the features from programs written in your favorite
12 language. Choose from these interfaces: G2F (Ada), MagickCore (C),
13 MagickWand (C), ChMagick (Ch), ImageMagickObject (COM+), Magick++ (C++),
14 JMagick (Java), L-Magick (Lisp), Lua, NMagick (Neko/haXe), Magick.NET
15 (.NET), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP
16 (PHP), IMagick (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick
17 (Tcl/TK). With a language interface, use ImageMagick to modify or create
18 images dynamically and automagically.
19
20 ImageMagick utilizes multiple computational threads to increase performance
21 and can read, process, or write mega-, giga-, or tera-pixel image sizes.
22
23 ImageMagick is free software delivered as a ready-to-run binary distribution
24 or as source code that you may use, copy, modify, and distribute in both open
25 and proprietary applications. It is distributed under a derived Apache 2.0
26 license.
27
28 The ImageMagick development process ensures a stable API and ABI. Before
29 each ImageMagick release, we perform a comprehensive security assessment
30 that includes memory error and thread data race detection to prevent
31 security vulnerabilities.
32
33 The current release is the ImageMagick 7.0.9-* series. It runs on Linux,
34 Windows, Mac Os X, iOS, Android OS, and others.
35
36 The authoritative ImageMagick web site is https://imagemagick.org. The
37 authoritative source code repository is https://github.com/ImageMagick. We
38 maintain a source code mirror at https://gitlab.com/ImageMagick.
39
40 We continue to maintain the legacy release of ImageMagick, version 6,
41 at https://legacy.imagemagick.org.
42
43
44Features and Capabilities
45
46 Here are just a few examples of what ImageMagick can do:
47
48 * Format conversion: convert an image from one format to another (e.g.
49 PNG to JPEG).
50 * Transform: resize, rotate, deskew, crop, flip or trim an image.
51 * Transparency: render portions of an image invisible.
52 * Draw: add shapes or text to an image.
53 * Decorate: add a border or frame to an image.
54 * Special effects: blur, sharpen, threshold, or tint an image.
55 * Animation: create a GIF animation sequence from a group of images.
56 * Text & comments: insert descriptive or artistic text in an image.
57 * Image gradients: create a gradual blend of one color whose shape is
58 horizontal, vertical, circular, or ellipical.
59 * Image identification: describe the format and attributes of an image.
60 * Composite: overlap one image over another.
61 * Montage: juxtapose image thumbnails on an image canvas.
62 * Generalized pixel distortion: correct for, or induce image distortions
63 including perspective.
64 * Computer vision: Canny edge detection.
65 * Morphology of shapes: extract features, describe shapes and recognize
66 patterns in images.
67 * Motion picture support: read and write the common image formats used in
68 digital film work.
69 * Image calculator: apply a mathematical expression to an image or image
70 channels.
71 * Connected component labeling: uniquely label connected regions in an
72 image.
73 * Discrete Fourier transform: implements the forward and inverse DFT.
74 * Perceptual hash: maps visually identical images to the same or similar
75 hash-- useful in image retrieval, authentication, indexing, or copy
76 detection as well as digital watermarking.
77 * Complex text layout: bidirectional text support and shaping.
78 * Color management: accurate color management with color profiles or in
79 lieu of-- built-in gamma compression or expansion as demanded by the
80 colorspace.
81 * High dynamic-range images: accurately represent the wide range of
82 intensity levels found in real scenes ranging from the brightest direct
83 sunlight to the deepest darkest shadows.
84 * Encipher or decipher an image: convert ordinary images into
85 unintelligible gibberish and back again.
86 * Virtual pixel support: convenient access to pixels outside the image
87 region.
88 * Large image support: read, process, or write mega-, giga-, or
89 tera-pixel image sizes.
90 * Threads of execution support: ImageMagick is thread safe and most
91 internal algorithms are OpenMP-enabled to take advantage of speed-ups
92 offered by multicore processor chips.
93 * Distributed pixel cache: offload intermediate pixel storage to one or
94 more remote servers.
95 * Heterogeneous distributed processing: certain algorithms are
96 OpenCL-enabled to take advantage of speed-ups offered by executing in
97 concert across heterogeneous platforms consisting of CPUs, GPUs, and
98 other processors.
99 * ImageMagick on the iPhone: convert, edit, or compose images on your
100 iPhone or iPad.
101
102 Examples of ImageMagick Usage * https://imagemagick.org/Usage/
103 shows how to use ImageMagick from the command-line to accomplish any
104 of these tasks and much more. Also, see Fred's ImageMagick Scripts @
105 http://www.fmwconcepts.com/imagemagick/: a plethora of command-line scripts
106 that perform geometric transforms, blurs, sharpens, edging, noise removal,
107 and color manipulations. With Magick.NET, use ImageMagick without having
108 to install ImageMagick on your server or desktop.
109
110
111News
112
113 Now that ImageMagick version 7 is released, we continue
114 to maintain the legacy release of ImageMagick, version 6, at
115 https://legacy.imagemagick.org. Learn how ImageMagick version 7 differs
116 from previous versions with our porting guide.
117
118 ImageMagick best practices strongly encourages you to configure a security
119 policy that suits your local environment.
120
121 As an analog to linear (RGB) and non-linear (sRGB) color colorspaces, as
122 of ImageMagick 7.0.7-17, we introduce the LinearGray colorspace. Gray is
123 non-linear grayscale and LinearGray is linear (e.g. -colorspace linear-gray).
124
125 Want more performance from ImageMagick? Try these options:
126
127 Add more memory to your system, see the pixel cache; Add more cores to
128 your system, see threads of execution support; push large images to a
129 solid-state drive, see large image support.
130
131 If these options are prohibitive, you can reduce the quality of the image
132 results. The default build is Q16 HDRI. If you disable HDRI, you use
133 half the memory and instead of predominately floating point operations,
134 you use the typically more efficient integer operations. The tradeoff
135 is reduced precision and you cannot process out of range pixel values
136 (e.g. negative). If you build the Q8 non-HDRI version of ImageMagick,
137 you again reduce the memory requirements in half-- and once again there
138 is a tradeoff, even less precision and no out of range pixel values. For
139 a Q8 non-HDRI build of ImageMagick, use these configure script options:
140 --with-quantum-depth=8 --disable-hdri.
141