Re: Transparency Help
Re: Transparency Help
- Subject: Re: Transparency Help
- From: glenn andreas <email@hidden>
- Date: Mon, 23 Nov 2009 10:41:35 -0600
On Nov 23, 2009, at 10:12 AM, R T wrote:
> I have a litho image (black & white pixels only) and I want to make all the white pixels transparent. I am using Quartz 2d to display the image and I have a Quartz composition containing a single .cikernel...
> Any ideas?
>
Why not just draw it using one of the transfer modes like kCGBlendModeDarken or kCGBlendModeMultiply rather than generate multiple images, tweaking all their bits, custom kernels, etc...
Both modes should cause black pixels to be drawn as black, and white pixels to not change the image at all...
Glenn Andreas email@hidden
The most merciful thing in the world ... is the inability of the human mind to correlate all its contents - HPL
_______________________________________________
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