Open jterrace opened 10 years ago
I'm not sure if SSIM actually says anything about what to do with an alpha channel. We can remove entirely transparent values (alpha==0) but the SSIM metric is going to treat partial transparency as if it was fully opaque.
PNG spec says:
So we're using the wrong value for transparency. We should treat 0 as transparent and 255 as opaque.