Trait sic_io::format::EncodingFormatByIdentifier [−][src]
Required methods
fn by_identifier(
&self,
identifier: &str
) -> Result<ImageOutputFormat, SicIoError>
[src]
&self,
identifier: &str
) -> Result<ImageOutputFormat, SicIoError>
Determine the encoding format based on the method of exporting. Determine the encoding format based on a recognized given identifier.
Implementors
impl EncodingFormatByIdentifier for DetermineEncodingFormat
[src]
fn by_identifier(
&self,
identifier: &str
) -> Result<ImageOutputFormat, SicIoError>
[src]
&self,
identifier: &str
) -> Result<ImageOutputFormat, SicIoError>
Determines an image output format based on a given &str
identifier.
Identifiers are based on common output file extensions.