Expand description
RAW format decoders.
This module provides format-specific decoders for various RAW image formats.
Use RawFile::open() as the common entry point for automatic format detection.
Re-exports§
pub use registry::available_decoders;pub use registry::available_encoders;
Modules§
- export
- Encoder selection and per-implementation configuration.
- registry
- Enumeration of the codec implementations compiled into this build.
Structs§
- DngExport
Config - DNG export configuration.
- GifDecode
Config - Per-implementation configuration for the
gifdecoder. - Heic
AuxImage - Descriptor of one auxiliary image inside a
HeicFile. - Heic
File - A parsed HEIC/HEIF file.
- Image
Avif Decode Config - Per-implementation configuration for the
image (avif-native)decoder. - Image
Probe - A cheap, header-only summary of a standard image.
- JxlOxide
Decode Config - Per-implementation configuration for the
jxl-oxidedecoder. - Libheif
Decode Config - Per-implementation configuration for the
libheifdecoder. - Libwebp
Decode Config - Per-implementation configuration for the
libwebpdecoder. - Resvg
Decode Config - Per-implementation configuration for the
resvgSVG renderer. - Tiff
Decode Config - Per-implementation configuration for the
tiffdecoder. - Zune
Jpeg Decode Config - Per-implementation configuration for the
zune-jpegJPEG decoder. - Zune
PngDecode Config - Per-implementation configuration for the
zune-pngPNG decoder. - Zune
PpmDecode Config - Per-implementation configuration for the
zune-ppmdecoder.
Enums§
- Decode
Options - Selects which decoder implementation handles a standard image, and carries that implementation’s configuration.
- Heic
AuxKind - Classification of an auxiliary/derived image inside a HEIC file.
- RawFile
- Common entry point for parsing RAW files.
- RawFormat
- Supported RAW file formats.
- Standard
Format - Supported standard (non-RAW) image formats.
Functions§
- decode_
jxl_ partial - Decode a JPEG XL stream that may be truncated, returning the best available render.
- decode_
standard_ image - Decode a standard (non-RAW) image to an
RgbImageusing each format’s default decoder implementation. - decode_
standard_ image_ with - Decode a standard (non-RAW) image with an explicitly selected decoder implementation.
- detect_
standard_ format - Detect a standard image format from the first bytes of image data.
- encode_
rgb_ image - Encode a linear RGB image to a file.
- encode_
rgb_ image_ to_ vec - Encode a linear RGB image to an in-memory byte buffer.
- encode_
rgb_ image_ to_ writer - Encode a linear RGB image to any writer.
- export_
dng - Export an RGB image as a demosaiced linear DNG file.
- probe_
standard_ image - Read an image’s format and dimensions from its header, without decoding.
- read_
standard_ image_ metadata - Extract EXIF metadata from a standard image without decoding pixel data.