Change resolution on an image in Cocoa Touch

Posted by Oscar on Stack Overflow See other posts from Stack Overflow or by Oscar
Published on 2010-05-19T18:17:04Z Indexed on 2010/05/19 18:20 UTC
Read the original article Hit count: 191

Filed under:
|
|

Hi, i need to change the resolution of an image programmatically. I'm really noobiedoobie at resolutions and Dpi so i'm not sure how to go about it. I need to change the reolution on the camera image to 300Dpi. My idea is to do the calculations in photoshop and then shrink the image by drawing it in a smaller rect with cgcontext. I's this a clumsyway of doing it?

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about resolution