how to use Command Line Processing in 7.0.2

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ohjie
Posts: 6
Joined: 2016-08-14T10:30:26-07:00
Authentication code: 1151

how to use Command Line Processing in 7.0.2

Post by ohjie »

Excuse me for any mistakes since my not-so-good English.
i download ImageMagick-7.0.2-9-Q16-x64-dll.exe use in win7 X64.

in version 6.8 or 6.9 i can use like "identify -format %[colorspace] E:\test.psd" in cmd .but in 7.0.2 it doesn't work.
i checked in version 6.9 there is a file named "identify" in the installation directory.
in 7.0.2,i can't find "conver" and "identify" in the installation directory and therefore the order doesn't work?.

why the new version 7.0.2 has no this file.
in version 7.0.2 how can i use this order in cmd?

thanks..
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: how to use Command Line Processing in 7.0.2

Post by fmw42 »

magick is the new command that replaces convert. But you can call legacy commands if you installed them and do "magick identify" for example. So try

Code: Select all

magick identify -format "%[colorspace]" E:\test.psd
or better use the old convert syntax with the file name first and info: last

Code: Select all

magick E:\test.psd -format "%[colorspace]" info:
ohjie
Posts: 6
Joined: 2016-08-14T10:30:26-07:00
Authentication code: 1151

Re: how to use Command Line Processing in 7.0.2

Post by ohjie »

i tryed and it work well, thanks very much!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: how to use Command Line Processing in 7.0.2

Post by fmw42 »

ohjie
Posts: 6
Joined: 2016-08-14T10:30:26-07:00
Authentication code: 1151

Re: how to use Command Line Processing in 7.0.2

Post by ohjie »

ok thanks
Post Reply