Canonical image format normalization for Astral's image pipeline.
Summary
Functions
Return the canonical file extension for an output format.
Return supported local image file extensions.
Return the source format represented by a filesystem path.
Return a browser MIME type for a format.
Normalize a user-provided output format.
Return true when a format can be emitted by the optimization backend.
Normalize and validate a user-provided output format.
Return the suffix option expected by the Image package writer.
Types
Functions
Return the canonical file extension for an output format.
@spec extensions() :: [String.t()]
Return supported local image file extensions.
Return the source format represented by a filesystem path.
Return a browser MIME type for a format.
Normalize a user-provided output format.
Return true when a format can be emitted by the optimization backend.
Normalize and validate a user-provided output format.
Return the suffix option expected by the Image package writer.