MagickWand API - identify image - suggestion

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

MagickWand API - identify image - suggestion

Post by mkoppanen » 2007-09-06T14:23:47-07:00

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 :)
Mikko Koppanen
My blog: http://valokuva.org

User avatar
magick
Site Admin
Posts: 10961
Joined: 2003-05-31T11:32:55-07:00

Re: MagickWand API - identify image - suggestion

Post by magick » 2007-09-06T15:35:16-07:00

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.

mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Re: MagickWand API - identify image - suggestion

Post by mkoppanen » 2007-09-07T05:38:38-07:00

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.
That would be excellent! Thank you!
Mikko Koppanen
My blog: http://valokuva.org

Post Reply