• 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: NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage


  • Subject: Re: NSImage
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 31 Dec 2009 15:46:15 -0800

On Dec 31, 2009, at 15:21, David Blanton wrote:

> Yeah, I was doing it with CGBitmapContextCreate followed by CGBitmapContextCreateImage but that ends up as a CGImageRef.
>
> I want NSImage so I can put an NSImageCell in an NSOutlineView and walk away !

I suggest you read the extensive comments on creating NSBitmapImageRep and NSImage objects in the Snow Leopard release notes, and choose a strategy accordingly (even if you're still on Leopard). The "best" technique for Snow Leopard isn't necessarily the "best" technique for Leopard, but you might want to plan ahead.


_______________________________________________

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: 
 >NSImage (From: David Blanton <email@hidden>)
 >Re: NSImage (From: "Henry McGilton (Boulevardier)" <email@hidden>)
 >Re: NSImage (From: David Blanton <email@hidden>)

  • Prev by Date: Re: NSImage
  • Next by Date: Re: Setting the Line Height/ Line Spacing in an NSTextView.
  • Previous by thread: Re: NSImage
  • Next by thread: Landscape view drawing as if in portrait mode
  • Index(es):
    • Date
    • Thread