Trait sic_io::format::EncodingFormatByIdentifier[][src]

pub trait EncodingFormatByIdentifier {
    fn by_identifier(
        &self,
        identifier: &str
    ) -> Result<ImageOutputFormat, SicIoError>; }

Required methods

fn by_identifier(
    &self,
    identifier: &str
) -> Result<ImageOutputFormat, SicIoError>
[src]

Determine the encoding format based on the method of exporting. Determine the encoding format based on a recognized given identifier.

Loading content...

Implementors

impl EncodingFormatByIdentifier for DetermineEncodingFormat[src]

fn by_identifier(
    &self,
    identifier: &str
) -> Result<ImageOutputFormat, SicIoError>
[src]

Determines an image output format based on a given &str identifier. Identifiers are based on common output file extensions.

Loading content...