mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-11 16:52:29 +03:00
Added argument that was removed in 0.9.0
This commit is contained in:
parent
bf0cdb2a7f
commit
79f941dfa5
|
@ -288,7 +288,12 @@ decoder_loop_skip_process:
|
||||||
// got color encoding
|
// got color encoding
|
||||||
if (decp->status == JXL_DEC_COLOR_ENCODING) {
|
if (decp->status == JXL_DEC_COLOR_ENCODING) {
|
||||||
decp->status = JxlDecoderGetICCProfileSize(
|
decp->status = JxlDecoderGetICCProfileSize(
|
||||||
decp->decoder, JXL_COLOR_PROFILE_TARGET_DATA, &decp->jxl_icc_len
|
decp->decoder,
|
||||||
|
#if JPEGXL_MINOR_VERSION < 9
|
||||||
|
NULL,
|
||||||
|
#endif
|
||||||
|
JXL_COLOR_PROFILE_TARGET_DATA,
|
||||||
|
&decp->jxl_icc_len
|
||||||
);
|
);
|
||||||
_JXL_CHECK("JxlDecoderGetICCProfileSize");
|
_JXL_CHECK("JxlDecoderGetICCProfileSize");
|
||||||
|
|
||||||
|
@ -300,6 +305,9 @@ decoder_loop_skip_process:
|
||||||
|
|
||||||
decp->status = JxlDecoderGetColorAsICCProfile(
|
decp->status = JxlDecoderGetColorAsICCProfile(
|
||||||
decp->decoder,
|
decp->decoder,
|
||||||
|
#if JPEGXL_MINOR_VERSION < 9
|
||||||
|
NULL,
|
||||||
|
#endif
|
||||||
JXL_COLOR_PROFILE_TARGET_DATA,
|
JXL_COLOR_PROFILE_TARGET_DATA,
|
||||||
decp->jxl_icc,
|
decp->jxl_icc,
|
||||||
decp->jxl_icc_len
|
decp->jxl_icc_len
|
||||||
|
|
Loading…
Reference in New Issue
Block a user