Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use ImageMagick command line on Windows?

My goal is to determine the compression parameters of the jpeg image that I have. As I understood from this answer, it's possible using the ImageMagick function identity. I downloaded from the official site and installed ImageMagick-7.0.2-7-Q16-x64-dll.exe. Now, I have an application with GUI called ImageMagick Display that seems useless. Where can I find an IM command line to type this:

identify -format '%Q' yourimage.jpg
like image 450
Glinka Avatar asked Aug 08 '16 08:08

Glinka


People also ask

Does ImageMagick work on Windows?

ImageMagick runs on Windows 11/10 (x86 , x64 & arm64), Windows 8/7 (x86 & x64), Windows Vista with Service Pack 2 (x86 & x64), Windows Server 2019/2016/2012 (x86 & x64), Windows Server 2008 with Service Pack 2 (x86 & x64), and Windows Server 2008 R2 (x64).

What is ImageMagick command?

ImageMagick includes a number of command-line utilities for manipulating images. Most of you are probably accustomed to editing images one at a time with a graphical user interface (GUI) with such programs as Gimp or Photoshop. However, a GUI is not always convenient.

How does ImageMagick work?

ImageMagick utilizes multiple computational threads to increase performance and can read, process, or write mega-, giga-, or tera-pixel image sizes. The current release is ImageMagick 7.1. 0-52. It runs on Linux, Windows, Mac Os X, iOS, Android OS, and others.


2 Answers

Since it is version 7.x, there is a checkbox at the time of installation that says 'Install legacy utilities (e.g. convert)'. You need to select that checkbox during installation.

Screenshot: enter image description here

Once done, you will be able to use the commands from command line.

Another option is to use the command magick identify --version

For version 6.x, it is not necessary.

like image 73
Yasin Avatar answered Oct 16 '22 21:10

Yasin


Open cmd>give access to your path in cmd then hit Enter.
Now type magick identify "D:\your path\name of file" then hit Enter,

enter image description here

like image 45
Mukesh Yadav Avatar answered Oct 16 '22 19:10

Mukesh Yadav