embedded_raster_dimensions

Function embedded_raster_dimensions 

Source
pub fn embedded_raster_dimensions(step_binary: &str) -> Option<(u32, u32)>
Expand description

Inspect supported raster headers without decoding pixel buffers. Hosts that aggregate many embedded images can budget their allocations before decoding. A successful header read does not certify the compressed pixel stream.