Obtaining the tropicity of an image on the iPhone

Posted by WhiteTiger on Stack Overflow See other posts from Stack Overflow or by WhiteTiger
Published on 2010-05-10T01:20:22Z Indexed on 2010/05/10 1:28 UTC
Read the original article Hit count: 464

Filed under:
|
|

Hello all

I was wondering how it's possible to find out if an image in the iPhone photo library is isotropic or anisotropic. Basically how many millimeters each pixel measures in height and in width.

In JPG images the information is hardcoded into the data stream so it's possible to do by simply pointing a const char* to the image file, but I'm not sure I can do that with the data the iPhone image returns.

Thank you in advance

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.0

Related posts about iphone