It would be nice to have a function in the MagickWand API to return identify attributes in some associative container(s).
something like:
properties
|
|
+-EXIF
| |_ Make=Camera manufacturer
| |_ FooBar=Barfoo
| |_ AndSoOn=value
|
+-Dimensions
| |_ Height=640
| |_ Width=480
|
+...
My ascii presentation is not pretty but I hope you get the point
MagickWand API - identify image - suggestion
MagickWand API - identify image - suggestion
Mikko Koppanen
My blog: http://valokuva.org
My blog: http://valokuva.org
Re: MagickWand API - identify image - suggestion
You can use MagickGetImageProperty() to return the value of a particular property. What is needed is a MagickGetImageProperties() method so you know which properties are available for a particular wand. We'll get that method into ImageMagick 6.3.5 Beta within a day or two.
Re: MagickWand API - identify image - suggestion
That would be excellent! Thank you!magick wrote:You can use MagickGetImageProperty() to return the value of a particular property. What is needed is a MagickGetImageProperties() method so you know which properties are available for a particular wand. We'll get that method into ImageMagick 6.3.5 Beta within a day or two.
Mikko Koppanen
My blog: http://valokuva.org
My blog: http://valokuva.org