• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iphone large image downloading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >iphone large image downloading (From: SanthoshKumarGundu <email@hidden>)
 >Re: iphone large image downloading (From: Dave Camp <email@hidden>)

  • Prev by Date: Re: iphone large image downloading
  • Next by Date: Re: NSKeyedArchiver on OSX to NSKeyedUnarchiver iOS
  • Previous by thread: Re: iphone large image downloading
  • Next by thread: Split View
  • Index(es):
    • Date
    • Thread