mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-02 20:23:22 +03:00
Updated Release Notes
This commit is contained in:
parent
6877d683ef
commit
5362da06c1
|
@ -19,8 +19,9 @@ Pillow has previously emitted warnings for images that are
|
||||||
unexpectedly large and may be a denial of service. These warnings are
|
unexpectedly large and may be a denial of service. These warnings are
|
||||||
now upgraded to ``DecompressionBombError``s for images that are twice
|
now upgraded to ``DecompressionBombError``s for images that are twice
|
||||||
the size of images that trigger the ``DecompressionBombWarning``. The
|
the size of images that trigger the ``DecompressionBombWarning``. The
|
||||||
default threshold is .5GB for a 4Bpp image. This can be disabled by
|
default threshold is 128Mpx, or 0.5GB for an ``RGB`` or ``RGBA``
|
||||||
setting ``Image.MAX_IMAGE_PIXELS = None``.
|
image. This can be disabled or changed by setting
|
||||||
|
``Image.MAX_IMAGE_PIXELS = None``.
|
||||||
|
|
||||||
Scripts
|
Scripts
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
|
|
Loading…
Reference in New Issue
Block a user