How to work with images(png's) of size 2-4Mb.

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-03-29T07:34:23Z Indexed on 2010/03/29 7:43 UTC
Read the original article Hit count: 118

I am working with images of size 2 to 4MB. I want to edit image of resolution 1200x1600. performing scaling, traslation and rotation operations. I want to another images on that and saving it to photo album. My app is crashing(giving memory warning) after i successfully edit one image and save to album.

I have releasing some images when i get memory warning. But still it crashes as i am working with 2 images of size 3MB each and context of size 1200x1600 and getting a image from the context at the same time.

Is there any way to compress images and work with it by performing scaling, traslation and rotation operations?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about image-manipulation