Re: NSImage
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>) |