• 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: Memory used by a UIImage?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory used by a UIImage?


  • Subject: Re: Memory used by a UIImage?
  • From: Steve Christensen <email@hidden>
  • Date: Fri, 04 Mar 2011 20:14:26 -0800

I doubt you could find out *exactly* how much memory is being used. You could probably get an approximation by multiplying pixelHeight * pixelWidth * 4 (assuming A, R, G, B channels), since the image bitmap is likely to be the biggest chunk for images of any real size.


On Mar 4, 2011, at 2:18 PM, Rick Mann wrote:

> Is there a way to determine how much memory a given UIImage is using for the in-memory image data?

_______________________________________________

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

  • Follow-Ups:
    • Re: Memory used by a UIImage?
      • From: Rick Mann <email@hidden>
References: 
 >Memory used by a UIImage? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Question about Cocoa leaks
  • Next by Date: Re: Memory used by a UIImage?
  • Previous by thread: Re: Memory used by a UIImage?
  • Next by thread: Re: Memory used by a UIImage?
  • Index(es):
    • Date
    • Thread