Re: about tiling images.
Re: about tiling images.
- Subject: Re: about tiling images.
- From: Matt Neuburg <email@hidden>
- Date: Thu, 23 Jun 2011 10:32:35 -0700
> Message: 6
> Date: Thu, 23 Jun 2011 16:18:25 +0200
> From: Gustavo Adolfo Pizano <email@hidden>
> Subject: about tiling images.
> I have been checking 2010 video about using UIScrollView with images,
> zooming etc. Thye use CATiledLayer and doing some calculations they
> now what tile to load depending on the scale, so the performance its
> quite good and memory usage its as low as possible.
>
> Now Im wondering, if I have my app which has a lot of images to
> display, kinda on the same way the example does, do I have to cut
> each image in its respective tiles @ their respective scale?, or....
Yes, that's pretty much the point of the example, isn't it?
Think of it this way: what they're saying is, these images are so big you can't even load one on the device. So if you can't load it it on the device, you can't load it and cut it up into rectangles on the device. So it follows as the night the day that you have to cut it up into rectangles beforehand on your computer.
Take a look at Apple's PhotoScroller example.
m.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden