When using System::Windows::Media::Imaging::TiffBitmapEncoder, it seems that a Gray32Float on input will generate a Gray16 Pixelformat on output, thus losing information.
Is there a workaround ?
It tried to change the Compression property, without any success.
I have a minimal project to reproduce https://chachatelier.fr/tmp/TestWindowsMediaTIFF.zip
I would not care if I could avoid reencoding such an image, but I need to edit metadata and I did not find any way to edit metadata in place without decoding first