|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| .github/ | | 03-May-2024 | - | 640 | 547 |
| Magick++/ | | 03-May-2024 | - | 36,418 | 26,945 |
| MagickCore/ | | 03-May-2024 | - | 256,042 | 178,884 |
| MagickWand/ | | 03-May-2024 | - | 65,290 | 41,048 |
| PerlMagick/ | | 03-May-2024 | - | 70,722 | 52,867 |
| api_examples/ | | 03-May-2024 | - | 381 | 166 |
| coders/ | | 03-May-2024 | - | 174,647 | 133,292 |
| config/ | | 03-May-2024 | - | 33,598 | 26,586 |
| configs/ | | 03-May-2024 | - | 6,684 | 2,918 |
| filters/ | | 03-May-2024 | - | 369 | 243 |
| images/ | | 03-May-2024 | - | 15 | 13 |
| m4/ | | 03-May-2024 | - | 12,028 | 10,937 |
| scripts/ | | 03-May-2024 | - | 2,476 | 1,743 |
| tests/ | | 03-May-2024 | - | 9,961 | 8,693 |
| utilities/ | | 03-May-2024 | - | 4,915 | 4,510 |
| www/ | | 03-May-2024 | - | 222,483 | 193,651 |
| .gitignore | D | 03-May-2024 | 1.6 KiB | 92 | 84 |
| .travis.yml | D | 03-May-2024 | 2.1 KiB | 45 | 38 |
| AUTHORS.txt | D | 03-May-2024 | 5.7 KiB | 158 | 117 |
| Android.bp | D | 03-May-2024 | 1.9 KiB | 68 | 64 |
| AppRun | D | 03-May-2024 | 1.2 KiB | 32 | 20 |
| ChangeLog | D | 03-May-2024 | 113.2 KiB | 2,503 | 1,910 |
| ImageMagick.spec.in | D | 03-May-2024 | 10.5 KiB | 289 | 227 |
| 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 | 421 | 20 | 19 |
| 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.1 KiB | 390 | 267 |
| Makefile.in | D | 03-May-2024 | 1.2 MiB | 13,877 | 12,447 |
| NEWS.txt | D | 03-May-2024 | 2 KiB | 38 | 30 |
| NOTICE | D | 03-May-2024 | 11.7 KiB | 241 | 178 |
| OWNERS | D | 03-May-2024 | 46 | 2 | 1 |
| QuickStart.txt | D | 03-May-2024 | 4.4 KiB | 137 | 93 |
| README.md | D | 03-May-2024 | 9.1 KiB | 80 | 58 |
| README.txt | D | 03-May-2024 | 7.2 KiB | 140 | 119 |
| SECURITY.md | D | 03-May-2024 | 891 | 14 | 7 |
| aclocal.m4 | D | 03-May-2024 | 46.2 KiB | 1,284 | 1,169 |
| androidconfigure | D | 03-May-2024 | 1 KiB | 42 | 29 |
| common.shi.in | D | 03-May-2024 | 1.2 KiB | 28 | 26 |
| configure | D | 03-May-2024 | 1.1 MiB | 39,321 | 33,596 |
| configure.ac | D | 03-May-2024 | 132.2 KiB | 4,157 | 3,703 |
| imagemagick.desktop | D | 03-May-2024 | 170 | 9 | 8 |
| index.html | D | 03-May-2024 | 17.2 KiB | 287 | 268 |
| magick.sh.in | D | 03-May-2024 | 1.5 KiB | 44 | 19 |
| winpath.sh | D | 03-May-2024 | 1.7 KiB | 72 | 53 |
README.md
1# ImageMagick
2
3[![Build Status](https://travis-ci.org/ImageMagick/ImageMagick.svg?branch=main)](https://travis-ci.org/ImageMagick/ImageMagick)
4![main](https://github.com/ImageMagick/ImageMagick/workflows/main/badge.svg)
5[![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)
6
7<p align="center">
8<img align="center" src="https://imagemagick.org/image/wizard.png" alt="ImageMagick logo" width="265"/>
9</p>
10
11Use [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.
12
13#### What is ImageMagick?
14
15The 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.
16
17ImageMagick utilizes multiple computational threads to increase performance and can read, process, or write mega-, giga-, or tera-pixel image sizes.
18
19ImageMagick 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).
20
21The 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.
22
23The current release is the ImageMagick 7.0.11 series. It runs on Linux, Windows, Mac Os X, iOS, Android OS, and others.
24
25The authoritative ImageMagick web site is https://imagemagick.org. The authoritative source code repository is https://github.com/ImageMagick/ImageMagick.
26
27We continue to maintain the legacy release of ImageMagick, version 6, at https://legacy.imagemagick.org.
28
29#### Features and Capabilities
30
31Here are just a few examples of what ImageMagick can do:
32
33* [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).
34* [Transform](https://legacy.imagemagick.org/Usage/resize/): resize, rotate, deskew, crop, flip or trim an image.
35* [Transparency](https://legacy.imagemagick.org/Usage/masking/): render portions of an image invisible.
36* [Draw](https://legacy.imagemagick.org/Usage/draw/): add shapes or text to an image.
37* [Decorate](https://legacy.imagemagick.org/Usage/crop/): add a border or frame to an image.
38* [Special effects](https://legacy.imagemagick.org/Usage/blur/): blur, sharpen, threshold, or tint an image.
39* [Text & comments](https://legacy.imagemagick.org/Usage/text/): insert descriptive or artistic text in an image.
40* [Image gradients](https://imagemagick.org/script/gradient.php): create a gradual blend of one color whose shape is horizontal, vertical, circular, or ellipical.
41* [Image identification](https://imagemagick.org/script/identify.php): describe the format and attributes of an image.
42* [Composite](https://imagemagick.org/script/composite.php): overlap one image over another.
43* [Montage](https://imagemagick.org/script/montage.php): juxtapose image thumbnails on an image canvas.
44* [Generalized pixel distortion](https://legacy.imagemagick.org/Usage/distorts/): correct for, or induce image distortions including perspective.
45* [Morphology of shapes](https://legacy.imagemagick.org/Usage/morphology/): extract features, describe shapes and recognize patterns in images.
46* [Delineate image features](https://legacy.imagemagick.org/Usage/transform/#vision): Canny edge detection, mean-shift, Hough lines.
47* [Motion picture support](https://imagemagick.org/script/motion-picture.php): read and write the common image formats used in digital film work.
48* [Image calculator](https://imagemagick.org/script/fx.php): apply a mathematical expression to an image or image channels.
49* [Connected component labeling](https://imagemagick.org/script/connected-components.php): uniquely label connected regions in an image.
50* [Discrete Fourier transform](https://legacy.imagemagick.org/Usage/fourier/): implements the forward and inverse [DFT](http://en.wikipedia.org/wiki/Discrete_Fourier_transform).
51* [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.
52* [Complex text layout](https://en.wikipedia.org/wiki/Complex_text_layout) bidirectional text support and shaping.
53* [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.
54* [Bilateral Blur](https://imagemagick.org/script/command-line-options.php#bilateral-blur): non-linear, edge-preserving, and noise-reducing smoothing filter.
55* [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.
56* [Encipher or decipher an image](https://imagemagick.org/script/cipher.php): convert ordinary images into unintelligible gibberish and back again.
57* [Virtual pixel support](https://imagemagick.org/script/architecture.php#virtual-pixels): convenient access to pixels outside the image region.
58* [Large image support](https://imagemagick.org/script/architecture.php#tera-pixel): read, process, or write mega-, giga-, or tera-pixel image sizes.
59* [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.
60* [Distributed pixel cache](https://imagemagick.org/script/distribute-pixel-cache.php): offload intermediate pixel storage to one or more remote servers.
61* [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.
62* [ImageMagick on the iPhone](https://imagemagick.org/script/download.php#iOS): convert, edit, or compose images on your iPhone.
63
64[Examples of ImageMagick Usage](https://legacy.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.
65
66#### News
67
68ImageMagick best practices **strongly** encourages you to configure a [security policy](https://imagemagick.org/script/security-policy.php) that suits your local environment.
69
70Now that ImageMagick version 7 is released, we continue to maintain the legacy release of ImageMagick, version 6, at https://legacy.imagemagick.org. Learn how ImageMagick version 7 differs from previous versions with our [porting guide](https://imagemagick.org/script/porting.php).
71
72Want more performance from ImageMagick? Try these options:
73
74* add more memory to your system, see the pixel cache;
75* add more cores to your system, see threads of execution support;
76* reduce lock contention with the tcmalloc memory allocation library;
77* push large images to a solid-state drive, see large image support.
78
79If 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.
80
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 Bezier 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 utilize 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.11-* 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
38 https://github.com/ImageMagick/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 * Bilateral blur: non-linear, edge-preserving, and noise-reducing
82 smoothing filter.
83 * High dynamic-range images: accurately represent the wide range of
84 intensity levels found in real scenes ranging from the brightest direct
85 sunlight to the deepest darkest shadows.
86 * Encipher or decipher an image: convert ordinary images into
87 unintelligible gibberish and back again.
88 * Virtual pixel support: convenient access to pixels outside the image
89 region.
90 * Large image support: read, process, or write mega-, giga-, or
91 tera-pixel image sizes.
92 * Threads of execution support: ImageMagick is thread safe and most
93 internal algorithms are OpenMP-enabled to take advantage of speed-ups
94 offered by multicore processor chips.
95 * Distributed pixel cache: offload intermediate pixel storage to one or
96 more remote servers.
97 * Heterogeneous distributed processing: certain algorithms are
98 OpenCL-enabled to take advantage of speed-ups offered by executing in
99 concert across heterogeneous platforms consisting of CPUs, GPUs, and
100 other processors.
101 * ImageMagick on the iPhone: convert, edit, or compose images on your
102 iPhone or iPad.
103
104 Examples of ImageMagick Usage * https://legacy.imagemagick.org/Usage/
105 shows how to use ImageMagick from the command-line to accomplish any
106 of these tasks and much more. Also, see Fred's ImageMagick Scripts @
107 http://www.fmwconcepts.com/imagemagick/: a plethora of command-line scripts
108 that perform geometric transforms, blurs, sharpens, edging, noise removal,
109 and color manipulations. With Magick.NET, use ImageMagick without having
110 to install ImageMagick on your server or desktop.
111
112
113News
114
115 ImageMagick best practices strongly encourages you to configure a security
116 policy that suits your local environment.
117
118 Now that ImageMagick version 7 is released, we continue
119 to maintain the legacy release of ImageMagick, version 6, at
120 https://legacy.imagemagick.org. Learn how ImageMagick version 7 differs
121 from previous versions with our porting guide.
122
123 Want more performance from ImageMagick? Try these options:
124
125 * add more memory to your system, see the pixel cache;
126 * add more cores to your system, see threads of execution support;
127 * reduce lock contention with the tcmalloc memory allocation library;
128 * push large images to a solid-state drive, see large image support.
129
130 If these options are prohibitive, you can reduce the quality of the image
131 results. The default build is Q16 HDRI. If you disable HDRI, you use
132 half the memory and instead of predominately floating point operations,
133 you use the typically more efficient integer operations. The tradeoff
134 is reduced precision and you cannot process out of range pixel values
135 (e.g. negative). If you build the Q8 non-HDRI version of ImageMagick,
136 you again reduce the memory requirements in half-- and once again there
137 is a tradeoff, even less precision and no out of range pixel values. For
138 a Q8 non-HDRI build of ImageMagick, use these configure script options:
139 --with-quantum-depth=8 --disable-hdri.
140