Skip to content

Canvas: Multiply RGB components by alpha while saving to disk

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

Loading