mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-11 16:52:29 +03:00
is_animated should be a bool
This commit is contained in:
parent
c8409e0969
commit
61ce5c2a4c
|
@ -410,11 +410,11 @@ _jxl_decoder_get_info(PyObject *self) {
|
||||||
JpegXlDecoderObject *decp = (JpegXlDecoderObject *)self;
|
JpegXlDecoderObject *decp = (JpegXlDecoderObject *)self;
|
||||||
|
|
||||||
return Py_BuildValue(
|
return Py_BuildValue(
|
||||||
"(II)siIIII",
|
"(II)sOIIII",
|
||||||
decp->basic_info.xsize,
|
decp->basic_info.xsize,
|
||||||
decp->basic_info.ysize,
|
decp->basic_info.ysize,
|
||||||
decp->mode,
|
decp->mode,
|
||||||
decp->basic_info.have_animation,
|
decp->basic_info.have_animation ? Py_True : Py_False,
|
||||||
decp->basic_info.animation.tps_numerator,
|
decp->basic_info.animation.tps_numerator,
|
||||||
decp->basic_info.animation.tps_denominator,
|
decp->basic_info.animation.tps_denominator,
|
||||||
decp->basic_info.animation.num_loops,
|
decp->basic_info.animation.num_loops,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user