2010-05-28, 03:22
Hi Everyone,
I know its a long shot, but does anyone have a way to tell if a image file is orientated in 'poster' or 'landscape'. I ask this, as I have been updating some of my photo views and am finding that the boarder that I put around the image only really looks ok when the image is in 'landscape'.
ListItem.PictureResolution give you something like '1xxx X 2xxx' (poster) or '2xxx X 1xxx' (landscape). Which is not really that helpful as I can't think of a general way to use this info to determine orientation.
Now I know there is a ListItem entry for orientation, but it's exactly the same for ALL of my images (some helpful program has rotated the image and set that info to the same value).
Does anyone have a trick to determine orientation of an image?
Wyrm (xTV SAF)
I know its a long shot, but does anyone have a way to tell if a image file is orientated in 'poster' or 'landscape'. I ask this, as I have been updating some of my photo views and am finding that the boarder that I put around the image only really looks ok when the image is in 'landscape'.
ListItem.PictureResolution give you something like '1xxx X 2xxx' (poster) or '2xxx X 1xxx' (landscape). Which is not really that helpful as I can't think of a general way to use this info to determine orientation.
Now I know there is a ListItem entry for orientation, but it's exactly the same for ALL of my images (some helpful program has rotated the image and set that info to the same value).
Does anyone have a trick to determine orientation of an image?
Wyrm (xTV SAF)