Skip navigation.
 
mlRe: Set Alpha for an NSImage
FROM : douglas a. welton
DATE : Wed Jan 30 20:08:55 2008

Check out the documentation on Core Image Filters.  CIColorCube and 
CIColorMonochrome may be of interest to you.

later,

douglas

On Jan 30, 2008, at 12:07 PM, Vance wrote:

> Hi,
>
> I have an NSImage (black and white) that I want to replace the black 
> color with transparency.
>
> I want it to be replaced in such a way, so even the shades of gray 
> look correct when overlayed on top of another color, lets say blue.
>
> What is the best way of do this?
>
> Thanks.
> Vance

Related mailsAuthorDate
mlSet Alpha for an NSImage Vance Jan 30, 18:07
mlRe: Set Alpha for an NSImage Filipe Varela Jan 30, 18:34
mlRe: Set Alpha for an NSImage Vance Jan 30, 19:27
mlRe: Set Alpha for an NSImage douglas a. welton Jan 30, 20:08