Re: NSImage query
Re: NSImage query
- Subject: Re: NSImage query
- From: Allan Odgaard <email@hidden>
- Date: Wed, 3 Mar 2004 12:43:54 +0100
On 3. Mar 2004, at 11:01, Mark Woollard wrote:
I have a bmp loaded into an NSImage instance. The image has one of its
colours, full intensity green, set to represent transparency. How
would I go about rendering the image into a view honouring the
transparency?
I think you would have to loop through all the pixels and set the alpha
component according to wether the pixel is green or not.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.