TO Bug or not to bug ..

Jun 24, 2015 at 7:34 AM
Hi All,

Check a strange behaviour on the last version of Magick.net.
I open a Jpg file of 2848x4272 in Landscape.. I check Height and Width properties => 2848 and 4272.. => perfect.
Just after I open a new Jpg file of 4272x2848 in landscape too, I check Height and Width properties => 2848 and 4272 ?? (height <=> Width)

Any good reason of this ? If I check Properties of the image in Windows exporer the coordinates are correct for both images.
Coordinator
Jun 24, 2015 at 8:30 AM
I am suspecting that your image is being rotated automatically in Windows. Can you post a link to the images you are talking about on something like DropBox?
Jun 24, 2015 at 9:05 AM
Hi,

yes that's a possibility! How can I know If I also need to 'rotate' automatically the picture then. How does windows to know the image should be rotate? Metadata from image ?

I have a DropBox indeed. I created a directory with the both pictures.

Regards,

F.
Coordinator
Jun 24, 2015 at 9:10 AM
The orientation can be determined from the metadata in the image. You could try to see if you get the same result with MagickImage.AutoOrient. This method will rotate the image with data from the metadata. And I still don't have world wide mind reading powers so could you please post the link to your dropbox folder?
Jun 24, 2015 at 11:32 AM
Edited Jun 25, 2015 at 5:56 AM
Hi again (and thanks for your reactivity).
https://www.dropbox.com/s/cht9c0tkfcqytnq/IMG_5097.JPG?dl=0
https://www.dropbox.com/s/vqs580wijizll7t/IMG_5100.JPG?dl=0

Here are the woth dropBox.com, but I supposed you're right.. F.
Coordinator
Jun 24, 2015 at 9:22 PM
I'm on Windows 7 and it is showing IMG_5100.JPG as 47272x2848 (WxH), the same is happening with IMG_5097.JPG. If you open the image in something like paint you will see the real width an height.

p.s. You might want to remove your phone number from this discussion board :)