Page 1 of 1

New filter: pre-multiply alpha

Posted: Mon Apr 25, 2016 9:11 am
by Mercury13
It should do the following:
1. Add an alpha channel, if it’s absent.
2. Modify it: alpha' = alpha · x.
Maybe, you’ll generalize it to all channels, etc.