pub fn decode_embedded_preview(
preview: &EmbeddedPreview,
) -> Result<DecodedImage, MediaError>Expand description
Decode an EmbeddedPreview to upright, packed RGBA8, behind the unwind guard.
Its own orientation is the one applied — the RAW’s where the JPEG carries none — never the JPEG’s tag on top of it.
§Errors
As Decoder::decode for a JPEG.