3 ms·
Hi, Cairos compositing operations provide a good way of doing this and are available from python via CairoCFFI. They provide a multiply operator http://cairo
by stuaxo 11y ago
Hi,
Cairos compositing operations provide a good way of doing this and are available from python via CairoCFFI.
They provide a multiply operator http://cairographics.org/operators/ http://cairographics.org/operators/ and others.
For an advertising site we needed arbitrary tinting so we lightened the images with Cairo, then added a color mask over the top in the web page.
S