• 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: CGImageRef to bitmap context? [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGImageRef to bitmap context? [SOLVED]


  • Subject: Re: CGImageRef to bitmap context? [SOLVED]
  • From: Uli Kusterer <email@hidden>
  • Date: Tue, 14 Aug 2007 09:31:59 +0200

On 13.08.2007, at 21:42, David Duncan wrote:
However, if you wanted to implement something like this, a CGImage itself isn't a very expensive structure to maintain (the image data is typically far more expensive, as are any cached representations that may be created when you draw it). If you wanted to do something like this, you could create a group of related CGImages and on-demand data providers that created the representation when you wanted it. Then you just use the appropriate image ref and the proper representation is created on demand.

Either that, or cop out and just use NSImage, which does all the caching and representation-storing and what-not for you :^)


Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

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: 
 >CGImageRef to bitmap context? (From: Mike McNamara <email@hidden>)
 >Re: CGImageRef to bitmap context? (From: Scott Thompson <email@hidden>)
 >Re: CGImageRef to bitmap context? [SOLVED] (From: Mike McNamara <email@hidden>)
 >Re: CGImageRef to bitmap context? [SOLVED] (From: Scott Thompson <email@hidden>)
 >Re: CGImageRef to bitmap context? [SOLVED] (From: David Duncan <email@hidden>)
 >Re: CGImageRef to bitmap context? [SOLVED] (From: Scott Thompson <email@hidden>)
 >Re: CGImageRef to bitmap context? [SOLVED] (From: David Duncan <email@hidden>)

  • Prev by Date: Re: NSImage + Distributed Objects
  • Next by Date: Open Recent Menu
  • Previous by thread: Re: CGImageRef to bitmap context? [SOLVED]
  • Next by thread: Re: CGImageRef to bitmap context?
  • Index(es):
    • Date
    • Thread