Can identify.exe output json or xml?

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
squadjot
Posts: 8
Joined: 2016-10-07T06:58:41-07:00
Authentication code: 1151

Can identify.exe output json or xml?

Post by squadjot » 2017-10-29T04:56:03-07:00

Hi

Can identify.exe output json or xml or something else slightly easier to parse ?

Thanks

snibgo
Posts: 9382
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Can identify.exe output json or xml?

Post by snibgo » 2017-10-29T05:28:59-07:00

"identify" can't, but "convert" or "magick" can output json, eg:

Code: Select all

convert rose: json:-
Replace "-" by a filename if you want.
snibgo's IM pages: im.snibgo.com

squadjot
Posts: 8
Joined: 2016-10-07T06:58:41-07:00
Authentication code: 1151

Re: Can identify.exe output json or xml?

Post by squadjot » 2017-10-29T05:36:20-07:00

Thanks alot! :)

Post Reply