Get back original size (height, width) from UIImage load with imageWithData

Posted by user325372 on Stack Overflow See other posts from Stack Overflow or by user325372
Published on 2010-04-25T12:25:16Z Indexed on 2010/04/25 12:33 UTC
Read the original article Hit count: 166

Filed under:
|

I just cant find useful information from web.

I have an UIImage which loaded from sqlLite with method imageWithData(NSData*), I just find the height and width of the size both be zero. I wanna get back the original height and width of the image, is it possible? or I do need to store these information separately in sqllite?

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about uiimage