Re: iphone large image downloading
Re: iphone large image downloading
- Subject: Re: iphone large image downloading
- From: David Duncan <email@hidden>
- Date: Wed, 11 Aug 2010 15:43:09 -0700
On Aug 11, 2010, at 3:31 PM, Dave Camp wrote:
> The UIImage class docs indicate you shouldn't create images larger than 1024 x 1024. You will either need to make sure your server will never send down an image larger than that, or download the image and downsample it to a reasonable size.
This particular language has been relaxed somewhat. As of iOS 3, creating and using images larger than 1024 in either dimension should work, as long as you have the memory for it.
Of course, a 2.5K square image consumes about 24MB when decompressed. That should generally work on devices that have more built in memory, but is almost certain to fail on older devices that do not. But 24MB is still a huge amount of memory to consume on a single image that the user can't even see all at once.
--
David Duncan
_______________________________________________
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