fn map_unpremultiplied_components<F: Fn(u8) -> u8>(
    surface: &SharedImageSurface,
    bounds: IRect,
    f: F,
    new_type: SurfaceType
) -> Result<SharedImageSurface, Error>
Expand description

Applies the function to each pixel component after unpremultiplying.