Function imagefmt::read_png_info [] [src]

pub fn read_png_info<R: Read>(reader: &mut R) -> Result<Info>

Returns width, height and color type of the image.