Function imagefmt::read_jpeg_info [] [src]

pub fn read_jpeg_info<R: Read>(stream: &mut R) -> Result<Info>

Returns width, height and color type of the image.