Page 1 of 1

Property #AspectRatio does not agree with ImageX and ImageY

Posted: 16 Sep 2014 20:52
by klownboy
Don, since you are currently in a thumbnail mindset, I see many cases for images where property("#AspectRatio", <curitem>) does not get it right. For example, an unaltered photo from a popular Canon EOS, the image width is 2592 and height is 3888 (those dimensions are correct as obtained by property("ImageX", <curitem>) and property("ImageY", <curitem>)), yet the aspect ration given is 3:2 instead of 2:3. In this particular case given the photo the orientation prop #245 is "" it's not "Rotated 90 or 270" like you might see in some cameras. I can provide you example photos if it helps. Another photo in landscape from the same camera is 3888x2592 and it's AspectRatio is also 3:2 which in this case is correct. Thanks.

Edit: I forgot to mention that property("#image.dimensions", <curitem>) also gets it wrong. Which is probably why property("#AspectRatio", <curitem>) is wrong. Whereas property("ImageX", <curitem>) and property("ImageY", <curitem>) is correct.

Re: Property #AspectRatio does not agree with ImageX and Ima

Posted: 17 Sep 2014 00:19
by klownboy
Forget this one Don, it looks like we already touched upon this topic here... http://www.xyplorer.com/xyfc/viewtopic. ... tio#p91901 Thanks.