Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/releasenotes/5.4.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
5.4.1
-----

This release fixes regressions in 5.4.0.

Installation on Termux
^^^^^^^^^^^^^^^^^^^^^^

A change to the way Pillow detects libraries during installed prevented
installation on Termux, which does not have ``/sbin/ldconfig``. This is now
fixed.

PNG: Handle IDAT chunks after image end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Some PNG images have multiple IDAT chunks. In some cases, Pillow will stop
reading image data before the IDAT chunks finish. A regression caused an
``EOFError`` exception when previously there was none. This is now fixed, and
file reading continues in case there are subsequent text chunks.

PNG: MIME type
^^^^^^^^^^^^^^

The addition of limited APNG support to the PNG plugin also overwrote the MIME
type for PNG files, causing "image/apng" to be returned as the MIME type of
both APNG and PNG files. This has been fixed so the MIME type of PNG files is
"image/png".
1 change: 1 addition & 0 deletions docs/releasenotes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Release Notes
.. toctree::
:maxdepth: 2

5.4.1
5.4.0
5.3.0
5.2.0
Expand Down