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 »

Hi

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

Thanks
snibgo
Posts: 12159
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 »

"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 »

Thanks alot! :)
Post Reply