Skip to main content

decode_for_display

Function decode_for_display 

Source
pub fn decode_for_display(path: &Path) -> Result<DynamicImage, ThumbError>
Expand description

decode for showing: the pixels are turned into sRGB through the file’s colour profile (see crate::color). Whatever rewrites the file uses decode instead.