Combining multiple UIImageViews and preserve resolution

Posted by plspl on Stack Overflow See other posts from Stack Overflow or by plspl
Published on 2010-05-08T18:20:41Z Indexed on 2010/05/08 18:28 UTC
Read the original article Hit count: 231

Filed under:
|
|

I am designing an application where a user places multiple UIImageViews one over another. When the user decides to save this to photo album, I have to combine all these UIImageViews and save it to Photo Library. While combining them I need to preserve their positions, resolutions, zorder. The approach I tried I was to have a parent UIView which acts like a container. The user places all the UIImageViews inside this UIView. While saving, I take a screenshot of the UIView and save it. Although this approach works, it does not preserve the resolution. The resolution of the final image is same as the resolution of the parent UIView size (width and height being 300 pixels). Is there way to preserve the resolution? or atleast have a higher resolution like upto 1024* 1024 pixels? Any pointers/code examples would be appreciated!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiimageview