Segment a CGImage
Posted
by
mag725
on Stack Overflow
See other posts from Stack Overflow
or by mag725
Published on 2011-01-17T00:51:27Z
Indexed on
2011/01/17
0:53 UTC
Read the original article
Hit count: 257
Hi,
In iOS 4.0 and later is there a way to segment a CGImage without loading the entire image into memory? What I am attempting to do is * programmatically* segment an image for use in a CATiledLayer application using large images, but I don't want to take up the memory involved in loading the full image.
Also, is there a way to load that (or any) segment at a particular resolution, so if we are zoomed out from the image we can load that tile at a low level of detail, thus saving memory.
Thanks! -Matt
© Stack Overflow or respective owner