Skip to content

Conversation

@radarhere
Copy link
Member

No description provided.

@hugovk hugovk merged commit c81f2f5 into python-pillow:main Feb 9, 2025
54 checks passed
@radarhere radarhere deleted the tuple branch February 9, 2025 20:33
radarhere added a commit to radarhere/Pillow that referenced this pull request Feb 9, 2025
radarhere added a commit to radarhere/Pillow that referenced this pull request Feb 10, 2025
fdintino pushed a commit to fdintino/Pillow that referenced this pull request Feb 12, 2025
* Simplify Python code by receiving tuple from C, as per python-pillow#8740

* Use default PyTypeObject value

* Removed AVIF_TRUE

* Width and height are already set on first frame

* Removed memset

* Depth is set by avifRGBImageSetDefaults

* Replace PyObject with int

* After a failed pixel allocation, destroy non-first frame

* Added error if avifImageCreateEmpty returns NULL

* Python images cannot have negative dimensions

* Test invalid canvas dimensions

* Use boolean format argument

* Handle avifDecoderCreate and avifEncoderCreate errors

* tileRowsLog2 and tileColsLog2 are ignored if autotiling is enabled

* Only define _add_codec_specific_options if it may be used

* Test non-string advanced value

* Simplified error handling in AvifEncoderNew

* Corrected heading

---------

Co-authored-by: Andrew Murray <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants