Oh and I'm applying this Oh and I'm applying this patch to make it compatible with current jxl library: --- a/dng_sdk_1_7/dng_sdk/source/dng_jxl.cpp +++ b/dng_sdk_1_7/dng_sdk/source/dng_jxl.cpp @@ -2283,6 +2283,7 @@ void dng_jxl_decoder::Decode (dng_host &host, // result of JxlDecoderGetColorAsEncodedProfile? JxlPixelFormat format = { 3, JXL_TYPE_FLOAT, JXL_NATIVE_ENDIAN, 0 }; + (void)format; #if qDNGValidate if (gVerbose) @@ -2293,7 +2294,7 @@ void dng_jxl_decoder::Decode (dng_host &host, if (JXL_DEC_SUCCESS == JxlDecoderGetColorAsEncodedProfile (dec, - &format, + // &format, JXL_COLOR_PROFILE_TARGET_ORIGINAL, &color_encoding)) { @@ -2442,7 +2443,7 @@ void dng_jxl_decoder::Decode (dng_host &host, CheckResult (JxlDecoderGetICCProfileSize (dec, - &format, + //&format, JXL_COLOR_PROFILE_TARGET_ORIGINAL, &profile_size), "JxlDecoderGetICCProfileSize", @@ -2469,7 +2470,7 @@ void dng_jxl_decoder::Decode (dng_host &host, CheckResult (JxlDecoderGetColorAsICCProfile (dec, - &format, + // &format, JXL_COLOR_PROFILE_TARGET_ORIGINAL, profile, profile_size), -- reply
Oh and I'm applying this patch to make it compatible with current jxl library: