Posted on 2011-02-28
I am stuck on this very important part and which is ruining my system.
Presently to maintain the aspect ratio Android changes the image width and height of an image i.e it pads it to maintain the aspect ratio
How can I know how many lines of pixels were added. Is there an API, formula ?
The reason is that my application adds tags to an image with x, y information on another platform . When I open it on my ANdroid device the image resolution is changed, so my tags look out of place. If I know how android calculates this I can apply the same for the orientation of my tags and work around
Your help would be greatly appreciated..Thanks in advance