Should MagickGetOrientation return exif:orientation?

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
sergeyfedotov
Posts: 1
Joined: 2016-02-07T14:38:48-07:00
Authentication code: 1151

Should MagickGetOrientation return exif:orientation?

Post by sergeyfedotov »

Hello.

In this simple example:

Code: Select all

MagickWand* wand;
wand = NewMagickWand();
MagickReadImage(wand, "photo.jpg");

Code: Select all

int a = MagickGetOrientation(wand);
a = 0

Code: Select all

char* b = MagickGetImageProperty(wand, "exif:Orientation");

b = 6

It is expected behaviour?
Post Reply