Here is my IM info:
Version: ImageMagick 7.0.8-59 Q16 x86_64 2019-08-05
https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License:
https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP(3.1)
Delegates (built-in): bzlib freetype heic jng jp2 jpeg lcms ltdl lzma openexr png tiff webp xml zlib
-----
Okay, I had some more time this morning and continued exploring how to convert exr 16bit half-floats to DPX linear 32bit images, thereby keeping the complete range of values from one file to the other.
So far, I have not found a command that allows a dpx file to become 32 bit float.
Normally, to convert to dpx from exr, I do this:
magick in.exr -gamma 2.2 -set reference-black 95 -set reference-white 685 out.dpx
OR
magick in.exr -colorspace LOG -set gamma 1.0 -set reference-black 95 -set reference-white 685 -colorspace RGB -gamma 2.2 out.dpx
OR
magick in.exr -colorspace LOG -set gamma 1.0 -set reference-black 95 -set reference-white 685 -colorspace RGB -gamma 2.2 -define format:floating-point out.dpx
OR
magick in.exr -colorspace LOG -set gamma 1.0 -set reference-black 95 -set reference-white 685 -colorspace RGB -gamma 2.2 -define format:floating-point -depth 16 out.dpx
OR
magick in.exr -colorspace LOG -set gamma 1.0 -set reference-black 95 -set reference-white 685 -colorspace RGB -gamma 2.2 -depth 16 -define format:floating-point out.dpx
Any of these commands create an eye-pleasing 16bits per channel linear dpx, but because of the default quantum setting, the result loses any values below 0 or above 1 in the resulting dpx that were contained in the input exr.
But if I try to fix the quantum problem by changing -depth 16 to -depth 32, the resulting image's channels are offset, resulting in a "scrambled" image.
If you have an idea on how to create a 32bits per channel dpx from an exr input successfully, please let me know.
Thanks.
- Jimbo