Skip to main content

header_dim

Function header_dim 

Source
fn header_dim(bytes: &[u8]) -> Option<Dim>
Expand description

The dimensions this picture’s own header declares.

A header that will not read, or that reads as having no extent, answers None rather than a size nothing could be encoded at. Callers that must name a size regardless take picture_dim instead.