9.5.0 ----- Backwards Incompatible Changes ============================== TODO ^^^^ TODO Deprecations ============ TODO ^^^^ TODO API Changes =========== TODO ^^^^ TODO API Additions ============= QOI file format ^^^^^^^^^^^^^^^ Pillow can now read images in Quite OK Image format. Added ``dpi`` argument when saving PDFs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ When saving a PDF, resolution could already be specified using the ``resolution`` argument. Now, a tuple of ``(x_resolution, y_resolution)`` can be provided as ``dpi``. If both are provided, ``dpi`` will override ``resolution``. Added ``corners`` argument to ``ImageDraw.rounded_rectangle()`` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :py:meth:`.ImageDraw.rounded_rectangle` now accepts a keyword argument of ``corners``. This a tuple of Booleans, specifying whether to round each corner, ``(top_left, top_right, bottom_right, bottom_left)``. Security ======== TODO ^^^^ TODO Other Changes ============= Added support for saving PDFs in RGBA mode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Using the JPXDecode filter, PDFs can now be saved in RGBA mode. BGR;* modes ^^^^^^^^^^^ It is now possible to create new BGR;15, BGR;16 and BGR;24 images. Conversely, BGR;32 has been removed from ImageMode and its associated methods, dropping the little support Pillow had for the mode. With that, all modes listed under :ref:`concept-modes` can now be used to create a new image.