Pillow/docs
Andrew Murray 0590f08f42
Handle avifDecoderCreate and avifEncoderCreate errors (#21)
* Simplify Python code by receiving tuple from C, as per #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 <radarhere@users.noreply.github.com>
2025-02-12 15:35:03 -05:00
..
example Added type hints to frombuffer 2024-09-06 15:16:59 +10:00
handbook Handle avifDecoderCreate and avifEncoderCreate errors (#21) 2025-02-12 15:35:03 -05:00
installation Use rgb.rowBytes in overflow check (#18) 2025-02-02 20:03:13 -05:00
reference Merge branch 'main' into libavif-plugin 2025-02-07 11:27:43 +11:00
releasenotes Added ImageDraw link 2025-02-01 10:54:18 +11:00
resources Remove strike css 2024-03-07 11:59:50 -05:00
about.rst Stop testing on AppVeyor 2024-11-02 15:41:57 +02:00
conf.py Only use start year in copyright, remove end years 2024-12-01 23:15:54 +02:00
COPYING Only use start year in copyright, remove end years 2024-12-01 23:15:54 +02:00
dater.py Use split instead of datetime 2024-04-25 13:14:38 +10:00
deprecations.rst Added deprecation warning 2025-01-17 18:34:23 +11:00
Guardfile Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00
index.rst Stop testing on AppVeyor 2024-11-02 15:41:57 +02:00
installation.rst Mark file as orphan 2024-03-06 07:35:11 +11:00
make.bat Fixed calling html target from htmlview 2023-03-21 22:37:45 +11:00
Makefile Use CVE and CWE roles from Sphinx 8.1 2024-10-10 21:35:48 +03:00
PIL.rst improve ImageTransform documentation 2024-01-02 14:52:12 +01:00
porting.rst fix _imaging and Image.core references 2020-07-11 13:25:10 +10:00