Skip to content

Canvas: Multiply RGB components by alpha while saving to disk

Manish Mathai requested to merge (removed):canvas-alpha-multiply into master

Canvas::SaveAs writes the color buffer to disk using the PNM format, which does not support an alpha channel. This change multiplies each of the RGB component by alpha while writing to the file.

Merge request reports