NSBitmapImageRep, precomputing alpha
NSBitmapImageRep, precomputing alpha
- Subject: NSBitmapImageRep, precomputing alpha
- From: Raphael Sebbe <email@hidden>
- Date: Sat, 22 Dec 2001 18:58:54 +0100
Hi all,
I just would like to have the confirmation that when manually setting
pixel colors of an NSBitmapImageRep with an alpha channel, you MUST
manually premultiply the color components by the alpha value (per
pixel). It took me hours to figure that out, debugging... Assuming this
is correct, it should definitely appear in the doc.
Raphael