diff --git a/index.html b/index.html index 6e937be..5427502 100644 --- a/index.html +++ b/index.html @@ -2831,6 +2831,29 @@
ImageMagick currently maintains two versions of its software: version 6 and version 7. ImageMagick released version 7 in 2016, and the platform encourages its user base to upgrade to the latest version. However, version 6, sometimes referred to as Legacy ImageMagick, is still maintained. A patch for Legacy ImageMagick version 6 was released as recently as October 2025. A link to Legacy ImageMagick’s repository can be found here.
The structure of ImageMagick commands in the examples on ffmprovisr have primarily been formatted for compatibility with Legacy ImageMagick. While many commands that use convert and mogrify can still be executed in version 7, not all are guaranteed to work. Many version 7 commands follow a similar structure to those of version 6, but with magick being used to start commands rather than convert and mogrify in most cases. Version 7 commands can be found at the bottom of each ImageMagick example on ffmprovisr.
New ImageMagick users and current Legacy users considering upgrading should assess the differences between each version before choosing which one to install. Below are just a few of the differences users should be aware of.
+Unlike Legacy ImageMagick, as a default, version 7 stores image pixels with High Dynamic Range Imaging (HDRI). This is typically with a bit depth up to Q16. To disable HDRI, the following command should be executed:
+./configure --disable-hdri
+
Some Legacy ImageMagick command options are no longer supported by version 7, including but not limited to: +
-maximum
+ -median
+ -minimum
+ -origin
+ -passphraseLastly, those operating Legacy commands on older hardware should take steps to ensure version 7's compatibility with their current system. Saved scripts that leverage Legacy command structures may need to be individually updated.
+For further reading on differences between ImageMagick versions, including a full list of deprecated Legacy command options, users can refer to the Porting Guide on ImageMagick’s website.
+ +★ImageMagick V7 command:magick compare -metric ae image1.ext image2.ext null:
Creates thumbnails for all files in a folder and saves them in that folder.
mogrify -resize 80x80 -format jpg -quality 75 -path thumbs *.jpg
Creates thumbnails for all files in a folder and saves them in that folder.
★ImageMagick V7 command:magick mogrify -resize 80x80 -format jpg -quality 75 -path thumbs *.jpg
★ImageMagick V7 command:magick montage @list.txt -tile 6x12 -geometry +0+0 output_grid.jpg
convert -verbose input_file.ext | grep -i signature
identify -verbose input_file.ext | grep -i signature
Gets signature data from an image file, which is a hash that can be used to uniquely identify the image.
★ImageMagick V7 command:magick identify -verbose input_file.ext | grep -i signature
★ImageMagick V7 command:magick mogrify -path ./stripped/ -strip *.jpg
★ImageMagick V7 command:magick input_file.ext -resize 750 output_file.ext
convert input_file.png output_file.jpg
Converts a file from one format to another.
+ ★ImageMagick V7 command: magick input_file.png output_file.jpg
identify -list format
Displays a list of the formats supported by Image Magick.
+ ★ImageMagick V7 command: magick identify -list format
identify -verbose input_image
Prints detailed information about the properties of a given image.
+★ImageMagick V7 command: magick identify -verbose input_image
convert input_image -duplicate count output_image
Duplicate an image one or more times.
+ ★ImageMagick V7 command: magick input_image -duplicate count output_image
mogrify -quality value image_file.ext
Controls the compression quality of JPEG, PNG, HEIC, and WebP image files.
+★ImageMagick V7 command: magick mogrify -quality value image_file.ext
mogrify -label “%m:%f %wx%h” example.png
Assigns a label to the image as it is read.
+480x216 (width and height) to the image example.png. Other attributes can be assigned as a label. Refer to the Format and Print Image Properties page for a complete list of single letter attribute percent escapes.★ImageMagick V7 command:magick mogrify -label “%wx%h” example.png
mogrify -rotate “-180>” example1.png
Rotates an image by degrees specified.
+background color. If the image width is greater than the image height, use > in the command. If the image width is less than height, use <.★ImageMagick V7 command: magick mogrify -rotate 180 example1.png
mogrify -auto-orient input_image.jpg
Auto orients an image for suitable viewing.
+ ★ImageMagick V7 command: magick mogrify -auto-orient input_image.jpg
convert -version
Output the version of Imagemagick in use, the image quality it is using, and origin date.
+★ImageMagick V7 command:magick -version
convert -adjoin input_image1.ext input_image2.ext output_images.ext
Join images into a single multi-image file.
+★ImageMagick V7 command:magick -adjoin input_image1.ext input_image2.ext output_images.ext
Links to more resources on ImageMagick and version 6.
+The official website for version 6 can be found here.
+Another great resource that goes in-depth on the basic commands of ImageMagick 6 can be found here.
+There is also the Imagemagick subreddit for community support.
+ +