Skip to main content

parse_frame

Function parse_frame 

Source
pub fn parse_frame(s: &str) -> Result<(f32, f32)>
Expand description

Parse frame size from a WIDTHxHEIGHT string.

ยงErrors

Returns an error if the format is wrong or a dimension is not a positive finite number.