[Pixman] sRGB scaling without alpha channel?
claude at mathr.co.uk
Thu Mar 4 10:33:58 UTC 2021
I have some image downscaling code  using Pixman that currently works
in regular RGB. I would like instead to do gamma-correct sRGB
downscaling, but I only see an sRGB-with-alpha format in the source code
. Is it possible to use this with sRGB-without-alpha data somehow?
I would like to avoid having to add a placeholder alpha channel before
downscaling only to remove it afterwards.
More information about the Pixman