Function rsvg::surface_utils::srgb::linearize_surface
source · 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).