On Tue, Feb 15, 2011 at 6:21 AM, Sven Köhler <[email protected]> wrote:
[snip]
> Hmm. Not quite sure whether the output of "identify" is ment to be
> easily parsable, but that should be doable.

Sven,

The identify command takes a -format parameter that allows you to
select the image attributes that you want to select. For example, to
get only WIDTHxHEIGHT you can use something like:

  identify -format '%wx%h\n' myImage.png

Using this you can make something that is more easily parsable.


Michael

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to