Re: NSImage
Re: NSImage
- Subject: Re: NSImage
- From: "Henry McGilton (Boulevardier)" <email@hidden>
- Date: Thu, 31 Dec 2009 14:54:29 -0800
On Dec 31, 2009, at 2:26 PM, David Blanton wrote:
> Given an array of color data (a generic bitmap) what is the best / fastest / recommended method to convert this to an NSImage?
Load your data into memory, create an NSBitmapImageRep from that pile of
data, then make an NSImage from the NSBitmapImageRep . . .
Cheers,
. . . . . . . . Henry
=================================================
iPhone App Development and Developer Education . . .
Visit www.nonatomic-retain.com
Mac OSX Application Development, Plus a Great Deal More . . .
Visit www.trilithon.com
_______________________________________________
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>) |