[][src]Trait naut_io::format::EncodingFormatByIdentifier

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

Required methods

pub 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]

pub 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...