Function imagefmt::png::read_info [] [src]

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

Returns width, height and color type of the image.