Skip to content

Support decoding f16 TIFF images following the tiff crate #2795

Description

@Shnatsel

The TIFF crate added f16 decoding support in image-rs/image-tiff#257

It would be nice to have it in image as well. This is needed for broader image format support in e.g. my own wondermagick and (I assume) GNOME's Glycin.

The half crate exposes batched conversion APIs from f16 to f32 that make use of SIMD intrinsics under the hood, and half is already a transitive dependency via tiff and exr crates.

A test file to verify this functionality can be found in image-rs/image-tiff#239

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions