pub fn linearize_surface(
    surface: &SharedImageSurface,
    bounds: IRect
) -> Result<SharedImageSurface, Error>
Expand description

Converts an sRGB surface to a linear sRGB surface (undoes the gamma correction).