[−][src]Function pconvert_rust::utils::read_png_from_file
pub fn read_png_from_file(
file_in: String,
demultiply: bool
) -> Result<ImageBuffer<Rgba<u8>, Vec<u8>>, PConvertError>
Reads a PNG from the local file system.
Arguments
file_in
- Local file system path to the PNG file.demultiply
- Whether or not to demultiply the PNG.