Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
iPhone / iPod Touch SDK | Development Discussionforums, a part of the
3rd Party Apps For iPhone | iPod Touchsection;
I'm trying to create an image in code made up of a number of smaller images. The usual method I have been using to do this is to instantiate a...
02-27-2008, 03:38 PM #1
Cheapest way of creating a composite image?
I'm trying to create an image in code made up of a number of smaller images.
The usual method I have been using to do this is to instantiate a series of UIImageViews, and then call 'addSubview' to add them all to a main UIView.
However I get the impression this is not the fastest implementation. If the overall UIView has a large height and width, I am experiencing some framerate issues when dragging it around the screen.
I'd like to play around with different implementations if possible. One idea that comes to mind is to see if there's any low-level way of creating an image in memory from smaller images. If I had something like that, I could simple generate an in-memory composite image, and then assign it to one single UIImageView.
If any of you out there have done this, please let me know. Additionally, if you think this approach would not gain me significant performance, I'd also love to hear about it and any other ways to accomplish what I'm trying to do.