Skip to content

Commit

Permalink
heifsave: ensure true lossless with libheif < v1.17.2
Browse files Browse the repository at this point in the history
In accordance with commit strukturag/libheif@136cf01.
  • Loading branch information
kleisauke committed Jul 18, 2024
1 parent e5364d3 commit d7a447b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libvips/foreign/heifsave.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ vips_foreign_save_heif_write_page(VipsForeignSaveHeif *heif, int page)

nclx->matrix_coefficients = heif_matrix_coefficients_RGB_GBR;
options->output_nclx_profile = nclx;
options->macOS_compatibility_workaround_no_nclx_profile = 0;
}
#endif /*HAVE_HEIF_ENCODING_OPTIONS_OUTPUT_NCLX_PROFILE*/

Expand Down

0 comments on commit d7a447b

Please sign in to comment.