The image is divided into tiles of width and height pixels. Append % to define the width and height as percentages of the image's dimensions. The tile size should be larger than the size of features to be preserved and respects the aspect ratio of the image. Add ! to force an exact tile width and height. number-bins is the number of histogram bins per tile (min 2, max 65536). The number of histogram bins should be smaller than the number of pixels in a single tile. clip-limit is the contrast limit for localized changes in contrast. A clip-limit of 2 to 3 is a good starting place (e.g. -clahe 50x50%+128+3). Very large values will let the histogram equalization do whatever it wants to do, that is result in maximal local contrast. The value 1 will result in the original image. Note, if the number of bins and the clip-limit are omitted, they default to 128 and no clipping respectively.
To visualize the benefits of CLAHE, we have a low contrast image of mountains:
-
diff --git a/www/command-line-options/index.html b/www/command-line-options/index.html
index 8a1b611..d48e45d 100644
--- a/www/command-line-options/index.html
+++ b/www/command-line-options/index.html
@@ -3609,7 +3609,7 @@ image is centered on an 800x600 black canvas:
-gravity center -extent 800x600 -quality 92 output.jpg
-
The command can also be used with a ratio. If the image is not already at that ratio, it will be cropped to fit it. The -gravity setting has the expected effects.
+
The command can also be used with a ratio. If the image is not already at that ratio, it will be cropped to fit it. The -gravity setting has the expected effects.
The following command crops a JPEG image so that it has a 4:3 ratio:
diff --git a/www/command-line-processing/index.html b/www/command-line-processing/index.html
index 13e413b..9a9dda5 100644
--- a/www/command-line-processing/index.html
+++ b/www/command-line-processing/index.html
@@ -828,6 +828,7 @@ setting for more specifics.
area@
Resize image to have specified area in pixels. Aspect ratio is preserved.
+
x:y
Here x and y denotes an aspect ratio (e.g. 3:2 = 1.5).
diff --git a/www/compare/index.html b/www/compare/index.html
index cb3e57b..573d38b 100644
--- a/www/compare/index.html
+++ b/www/compare/index.html
@@ -562,7 +562,6 @@ transparent, extract, background, or shape the alpha channel
-
diff --git a/www/compose/index.html b/www/compose/index.html
index 3b424b1..8fc4242 100644
--- a/www/compose/index.html
+++ b/www/compose/index.html
@@ -450,6 +450,7 @@ the rest of the image outside the overlaid area.
interpolate
This mode somehow combines multiply and screen mode (looks very similar for very dark or bright colors).
+
Typically these use the default 'Over' alpha blending when transparencies
diff --git a/www/defines/index.html b/www/defines/index.html
index f2b0129..5c30dfb 100644
--- a/www/defines/index.html
+++ b/www/defines/index.html
@@ -239,7 +239,7 @@ use:
-
Command-line Defines
+
Command-line Defines
@@ -884,7 +884,7 @@ use:
-
IMAGE FORMATS
+
IMAGE FORMATS
diff --git a/www/install-source/index.html b/www/install-source/index.html
index 7c4e66e..17e47f7 100644
--- a/www/install-source/index.html
+++ b/www/install-source/index.html
@@ -273,7 +273,7 @@ make
We recommend you first uninstall an existing ImageMagick, else you might be surprised that your $ magick commands go to the old version.
Building ImageMagick source for Windows can be done with a modern version of Microsoft Visual Studio IDE. Users have reported success with the Borland C++ compiler as well. If you don't have a compiler you can still install a self-installing binary release.
Where `passkey.txt` contains your cache passkey. Don't lose your passkey. Without it, you will be unable to identify, expire, or delete content in your cache.
You only need to create a MagickCache once. You can, however, create more than one MagickCache with different paths.
-
Once the MagickCache is created, you will want to populate the cache with content that includes images, video, audio, or metadata.
+
Once the MagickCache is created, you will want to populate the cache with content that includes images, video, audio, or metadata.
Put content in the MagickCache
Let's add a movie cast image to our newly created cache:
$ magick-cache put /opt/magick-cache movies/image/mission-impossible/cast/rebecca-ferguson 20210508-rebecca-ferguson.jpg
The MagickCache provides methods and tools to cache images, image sequences, video, audio or metadata in a local folder. Any content is memory-mapped for efficient retrieval. Additional efficiencies are possible by retrieving a portion of an image. Content can persist or you can assign a time-to-live (TTL) to automatically expire content when the TTL is exceeded. MagickCache supports virtually unlimited content upwards of billions of images making it suitable as a web image service.
-
+
ImageMagick Development
The ImageMagick development process ensures a stable API and ABI. Before each ImageMagick release, we perform a comprehensive security assessment that includes memory error, thread data race detection, and continuous fuzzing to detect and prevent security vulnerabilities.