> What about a desaturation filter? How could that be quickly implemented?
:dest_alpha_mask
? The much more terrible and obscure :source_atop
from Cocoa? :Dnil
also accepted)NSCompositeSourceAtop
but I think it's a terrible name:> Source image wherever both images are opaque, destination image wherever destination image is opaque but source image is transparent, and transparent elsewhere. (R = S*Da + D*(1 - Sa))
> R => The premultiplied result color.
> S => The source color
> D => The destination color
> Sa => The alpha value of the source color
> Da => The alpha value of the destination color
NSCompositingOperation
constants anyway to get some inspiration.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill