Function imagefmt::read_info [] [src]

pub fn read_info<P: AsRef<Path>>(filepath: P) -> Result<Info>

Returns width, height and color type of the image.