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
The TIFF crate added f16 decoding support in image-rs/image-tiff#257
It would be nice to have it in
imageas well. This is needed for broader image format support in e.g. my own wondermagick and (I assume) GNOME's Glycin.The
halfcrate exposes batched conversion APIs fromf16tof32that make use of SIMD intrinsics under the hood, andhalfis already a transitive dependency viatiffandexrcrates.A test file to verify this functionality can be found in image-rs/image-tiff#239