Function dispatch_header

Source
pub(crate) fn dispatch_header<R: BufRead + Seek>(
    reader: &mut R,
) -> ImageResult<ImageSize>
Expand description

Calls the correct image size method based on the image type

ยงArguments

  • reader - A reader for the data
  • header - The header of the file