Commit 9a8cf528 for libheif
commit 9a8cf528522c109db71d01e4de60b44f9fc1535e
Author: Torusrxxx <torusrxxx@users.noreply.github.com>
Date: Thu May 7 12:53:14 2026 +0000
Remove Rec 2020 CL matrix coefficients from preset
diff --git a/examples/heif_enc.cc b/examples/heif_enc.cc
index 0022157c..93c96a36 100644
--- a/examples/heif_enc.cc
+++ b/examples/heif_enc.cc
@@ -1042,7 +1042,7 @@ heif_error create_output_nclx_profile_and_configure_encoder(heif_encoder* encode
break;
case heif_output_nclx_color_profile_preset_Rec_2020:
- nclx->matrix_coefficients = heif_matrix_coefficients_ITU_R_BT_2020_2_constant_luminance;
+ nclx->matrix_coefficients = heif_matrix_coefficients_ITU_R_BT_2020_2_non_constant_luminance;
nclx->color_primaries = heif_color_primaries_ITU_R_BT_2020_2_and_2100_0;
if (heif_image_has_channel(input_image.get(), heif_channel_Y) &&