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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to