Pillow

Latest version: v11.1.0

Safety actively analyzes 721825 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 24

5.4.1

Not secure
------------------

- File closing: Only close __fp if not fp 3540
[radarhere]

- Fix build for Termux 3529
[pslacerda]

- PNG: Detect MIME types 3525
[radarhere]

- PNG: Handle IDAT chunks after image end 3532
[radarhere]

5.4.0

Not secure
------------------

- Docs: Improved ImageChops documentation 3522
[radarhere]

- Allow RGB and RGBA values for P image putpixel 3519
[radarhere]

- Add APNG extension to PNG plugin 3501
[pirate486743186, radarhere]

- Lookup ld.so.cache instead of hardcoding search paths 3245
[pslacerda]

- Added custom string TIFF tags 3513
[radarhere]

- Improve setup.py configuration 3395
[diorcety]

- Read textual chunks located after IDAT chunks for PNG 3506
[radarhere]

- Performance: Don't try to hash value if enum is empty 3503
[Glandos]

- Added custom int and float TIFF tags 3350
[radarhere]

- Fixes for issues reported by static code analysis 3393
[frenzymadness]

- GIF: Wait until mode is normalized to copy im.info into encoderinfo 3187
[radarhere]

- Docs: Add page of deprecations and removals 3486
[hugovk]

- Travis CI: Upgrade PyPy from 5.8.0 to 6.0 3488
[hugovk]

- Travis CI: Allow lint job to fail 3467
[hugovk]

- Resolve __fp when closing and deleting 3261
[radarhere]

- Close exclusive fp before discarding 3461
[radarhere]

- Updated open files documentation 3490
[radarhere]

- Added libjpeg_turbo to check_feature 3493
[radarhere]

- Change color table index background to tuple when saving as WebP 3471
[radarhere]

- Allow arbitrary number of comment extension subblocks 3479
[radarhere]

- Ensure previous FLI frame is loaded before seeking to the next 3478
[radarhere]

- ImageShow improvements 3450
[radarhere]

- Depends: Update libimagequant to 2.12.2 3442, libtiff to 4.0.10 3458, libwebp to 1.0.1 3468, Tk Tcl to 8.6.9 3465
[radarhere]

- Check quality_layers type 3464
[radarhere]

- Add context manager, __del__ and close methods to TarIO 3455
[radarhere]

- Test: Do not play sound when running screencapture command 3454
[radarhere]

- Close exclusive fp on open exception 3456
[radarhere]

- Only close existing fp in WebP if fp is exclusive 3418
[radarhere]

- Docs: Re-add the downloads badge 3443
[hugovk]

- Added negative index to PixelAccess 3406
[Nazime]

- Change tuple background to global color table index when saving as GIF 3385
[radarhere]

- Test: Improved ImageGrab tests 3424
[radarhere]

- Flake8 fixes 3422, 3440
[radarhere, hugovk]

- Only ask for YCbCr->RGB libtiff conversion for jpeg-compressed tiffs 3417
[kkopachev]

- Optimise ImageOps.fit by combining resize and crop 3409
[homm]

5.3.0

Not secure
------------------

- Changed Image size property to be read-only by default 3203
[radarhere]

- Add warnings if image file identification fails due to lack of WebP support 3169
[radarhere, hugovk]

- Hide the Ghostscript progress dialog popup on Windows 3378
[hugovk]

- Adding support to reading tiled and YcbCr jpeg tiffs through libtiff 3227
[kkopachev]

- Fixed None as TIFF compression argument 3310
[radarhere]

- Changed GIF seek to remove previous info items 3324
[radarhere]

- Improved PDF document info 3274
[radarhere]

- Add line width parameter to rectangle and ellipse-based shapes 3094
[hugovk, radarhere]

- Fixed decompression bomb check in _crop 3313
[dinkolubina, hugovk]

- Added support to ImageDraw.floodfill for non-RGB colors 3377
[radarhere]

- Tests: Avoid catching unexpected exceptions in tests 2203
[jdufresne]

- Use TextIOWrapper.detach() instead of NoCloseStream 2214
[jdufresne]

- Added transparency to matrix conversion 3205
[radarhere]

- Added ImageOps pad method 3364
[radarhere]

- Give correct extrema for I;16 format images 3359
[bz2]

- Added PySide2 3279
[radarhere]

- Corrected TIFF tags 3369
[radarhere]

- CI: Install CFFI and pycparser without any PYTHONOPTIMIZE 3374
[hugovk]

- Read/Save RGB webp as RGB (instead of RGBX) 3298
[kkopachev]

- ImageDraw: Add line joints 3250
[radarhere]

- Improved performance of ImageDraw floodfill method 3294
[yo1995]

- Fix builds with --parallel 3272
[hsoft]

- Add more raw Tiff modes (RGBaX, RGBaXX, RGBAX, RGBAXX) 3335
[homm]

- Close existing WebP fp before setting new fp 3341
[radarhere]

- Add orientation, compression and id_section as TGA save keyword arguments 3327
[radarhere]

- Convert int values of RATIONAL TIFF tags to floats 3338
[radarhere, wiredfool]

- Fix code for PYTHONOPTIMIZE 3233
[hugovk]

- Changed ImageFilter.Kernel to subclass ImageFilter.BuiltinFilter, instead of the other way around 3273
[radarhere]

- Remove unused draw.draw_line, draw.draw_point and font.getabc methods 3232
[hugovk]

- Tests: Added ImageFilter tests 3295
[radarhere]

- Tests: Added ImageChops tests 3230
[hugovk, radarhere]

- AppVeyor: Download lib if not present in pillow-depends 3316
[radarhere]

- Travis CI: Add Python 3.7 and Xenial 3234
[hugovk]

- Docs: Added documentation for NumPy conversion 3301
[radarhere]

- Depends: Update libimagequant to 2.12.1 3281
[radarhere]

- Add three-color support to ImageOps.colorize 3242
[tsennott]

- Tests: Add LA to TGA test modes 3222
[danpla]

- Skip outline if the draw operation fills with the same colour 2922
[radarhere]

- Flake8 fixes 3173, 3380
[radarhere]

- Avoid deprecated 'U' mode when opening files 2187
[jdufresne]

5.2.0

Not secure
------------------

- Fixed saving a multiframe image as a single frame PDF 3137
[radarhere]

- If a Qt version is already imported, attempt to use it first 3143
[radarhere]

- Fix transform fill color for alpha images 3147
[fozcode]

- TGA: Add support for writing RLE data 3186
[danpla]

- TGA: Read and write LA data 3178
[danpla]

- QuantOctree.c: Remove erroneous attempt to average over an empty range 3196
[tkoeppe]

- Changed ICNS format tests to pass on OS X 10.11 3202
[radarhere]

- Fixed bug in ImageDraw.multiline_textsize() 3114
[tianyu139]

- Added getsize_multiline support for PIL.ImageFont 3113
[tianyu139]

- Added ImageFile get_format_mimetype method 3190
[radarhere]

- Changed mmap file pointer to use context manager 3216
[radarhere]

- Changed ellipse point calculations to be more evenly distributed 3142
[radarhere]

- Only extract first Exif segment 2946
[hugovk]

- Tests: Test ImageDraw2, WalImageFile 3135, 2989
[hugovk]

- Remove unnecessary 'if 0' code 3075
[hugovk]

- Tests: Added GD tests 1817
[radarhere]

- Fix collections ABCs DeprecationWarning in Python 3.7 3123
[hugovk]

- unpack_from is faster than unpack of slice 3201
[landfillbaby]

- Docs: Add coordinate system links and file handling links in documentation 3204, 3214
[radarhere]

- Tests: TestFilePng: Fix test_save_l_transparency() 3182
[danpla]

- Docs: Correct argument name 3171
[radarhere]

- Docs: Update CMake download URL 3166
[radarhere]

- Docs: Improve Image.transform documentation 3164
[radarhere]

- Fix transform fillcolor argument when image mode is RGBA or LA 3163
[radarhere]

- Tests: More specific Exception testing 3158
[radarhere]

- Add getrgb HSB/HSV color strings 3148
[radarhere]

- Allow float values in getrgb HSL color string 3146
[radarhere]

- AppVeyor: Upgrade to Python 2.7.15 and 3.4.4 3140
[radarhere]

- AppVeyor: Upgrade to PyPy 6.0.0 3133
[hugovk]

- Deprecate PILLOW_VERSION and VERSION 3090
[hugovk]

- Support Python 3.7 3076
[hugovk]

- Depends: Update freetype to 2.9.1, libjpeg to 9c, libwebp to 1.0.0 3121, 3136, 3108
[radarhere]

- Build macOS wheels with Xcode 6.4, supporting older macOS versions 3068
[wiredfool]

- Fix _i2f compilation on some GCC versions 3067
[homm]

- Changed encoderinfo to have priority over info when saving GIF images 3086
[radarhere]

- Rename PIL.version to PIL._version and remove it from module 3083
[homm]

- Enable background colour parameter on rotate 3057
[storesource]

- Remove unnecessary ``if 1`` directive 3072
[jdufresne]

- Remove unused Python class, Path 3070
[jdufresne]

- Fix dereferencing type-punned pointer will break strict-aliasing 3069
[jdufresne]

5.1.0

Not secure
------------------

- Close fp before return in ImagingSavePPM 3061
[kathryndavies]

- Added documentation for ICNS append_images 3051
[radarhere]

- Docs: Move intro text below its header 3021
[hugovk]

- CI: Rename appveyor.yml as .appveyor.yml 2978
[hugovk]

- Fix TypeError for JPEG2000 parser feed 3042
[hugovk]

- Certain corrupted jpegs can result in no data read 3023
[kkopachev]

- Add support for BLP file format 3007
[jleclanche]

- Simplify version checks 2998
[hugovk]

- Fix "invalid escape sequence" warning on Python 3.6+ 2996
[timgraham]

- Allow append_images to set .icns scaled images 3005
[radarhere]

- Support appending to existing PDFs 2965
[vashek]

- Fix and improve efficient saving of ICNS on macOS 3004
[radarhere]

- Build: Enable pip cache in AppVeyor build 3009
[thijstriemstra]

- Trim trailing whitespace 2985
[Metallicow]

- Docs: Correct reference to Image.new method 3000
[radarhere]

- Rearrange ImageFilter classes into alphabetical order 2990
[radarhere]

- Test: Remove duplicate line 2983
[radarhere]

- Build: Update AppVeyor PyPy version 3003
[radarhere]

- Tiff: Open 8 bit Tiffs with 5 or 6 channels, discarding extra channels 2938
[homm]

- Readme: Added Twitter badge 2930
[hugovk]

- Removed __main__ code from ImageCms 2942
[radarhere]

- Test: Changed assert statements to unittest calls 2961
[radarhere]

- Depends: Update libimagequant to 2.11.10, raqm to 0.5.0, freetype to 2.9 3036, 3017, 2957
[radarhere]

- Remove _imaging.crc32 in favor of builtin Python crc32 implementation 2935
[wiredfool]

- Move Tk directory to src directory 2928
[hugovk]

- Enable pip cache in Travis CI 2933
[jdufresne]

- Remove unused and duplicate imports 2927
[radarhere]

- Docs: Changed documentation references to 2.x to 2.7 2921
[radarhere]

- Fix memory leak when opening webp files 2974
[wiredfool]

- Setup: Fix "TypeError: 'NoneType' object is not iterable" for PPC and CRUX 2951
[hugovk]

- Setup: Add libdirs for ppc64le and armv7l 2968
[nehaljwani]

5.0.0

Not secure
------------------

- Docs: Added docstrings from documentation 2914
[radarhere]

- Test: Switch from nose to pytest 2815
[hugovk]

- Rework Source directory layout, preventing accidental import of PIL. 2911
[wiredfool]

- Dynamically link libraqm 2753
[wiredfool]

- Removed scripts directory 2901
[wiredfool]

- TIFF: Run all compressed tiffs through libtiff decoder 2899
[wiredfool]

- GIF: Add disposal option when saving GIFs 2902
[linnil1, wiredfool]

- EPS: Allow for an empty line in EPS header data 2903
[radarhere]

- PNG: Add support for sRGB and cHRM chunks, permit sRGB when no iCCP chunk present 2898
[wiredfool]

- Dependencies: Update Tk Tcl to 8.6.8 2905
[radarhere]

- Decompression bomb error now raised for images 2x larger than a decompression bomb warning 2583
[wiredfool]

- Test: avoid random failure in test_effect_noise 2894
[hugovk]

- Increased epsilon for test_file_eps.py:test_showpage due to Arch update. 2896
[wiredfool]

- Removed check parameter from _save in BmpImagePlugin, PngImagePlugin, ImImagePlugin, PalmImagePlugin, and PcxImagePlugin. 2873
[radarhere]

- Make PngImagePlugin.add_text() zip argument type bool 2890
[jdufresne]

- Depends: Updated libwebp to 0.6.1 2880
[radarhere]

- Remove unnecessary bool() calls in Image.registered_extensions and skipKnownBadTests 2891
[jdufresne]

- Fix count of BITSPERSAMPLE items in broken TIFF files 2883
[homm]

- Fillcolor parameter for Image.Transform 2852
[wiredfool]

- Test: Display differences for test failures 2862
[wiredfool]

- Added executable flag to file with shebang line 2884
[radarhere]

- Setup: Specify compatible Python versions for pip 2877
[hugovk]

- Dependencies: Updated libimagequant to 2.11.4 2878
[radarhere]

- Setup: Warn if trying to install for Py3.7 on Windows 2855
[hugovk]

- Doc: Fonts can be loaded from a file-like object, not just filename 2861
[robin-norwood]

- Add eog support for Ubuntu Image Viewer 2864
[NafisFaysal]

- Test: Test on 3.7-dev on Travis CI 2870
[hugovk]

- Dependencies: Update libtiff to 4.0.9 2871
[radarhere]

- Setup: Replace deprecated platform.dist with file existence check 2869
[wiredfool]

- Build: Fix setup.py on Debian 2853
[wiredfool]

- Docs: Correct error in ImageDraw documentation 2858
[meribold]

- Test: Drop Ubuntu Precise, Fedora 24, Fedora 25, add Fedora 27, Centos 7, Amazon v2 CI Support 2854, 2843, 2895, 2897
[wiredfool]

- Dependencies: Updated libimagequant to 2.11.3 2849
[radarhere]

- Test: Fix test_image.py to use tempfile 2841
[radarhere]

- Replace PIL.OleFileIO deprecation warning with descriptive ImportError 2833
[hugovk]

- WebP: Add support for animated WebP files 2761
[jd20]

- PDF: Set encoderinfo for images when saving multi-page PDF. Fixes 2804. 2805
[ixio]

- Allow the olefile dependency to be optional 2789
[jdufresne]

- GIF: Permit LZW code lengths up to 12 bits in GIF decode 2813
[wiredfool]

- Fix unterminated string and unchecked exception in _font_text_asBytes. 2825
[wiredfool]

- PPM: Use fixed list of whitespace, rather relying on locale, fixes 272. 2831
[markmiscavage]

- Added support for generators when using append_images 2829, 2835
[radarhere]

- Doc: Correct PixelAccess.rst 2824
[hasahmed]

- Depends: Update raqm to 0.3.0 2822
[radarhere]

- Docs: Link to maintained version of aggdraw 2809
[hugovk]

- Include license file in the generated wheel packages 2801
[jdufresne]

- Depends: Update openjpeg to 2.3.0 2791
[radarhere]

- Add option to Makefile to build and install with C coverage 2781
[hugovk]

- Add context manager support to ImageFile.Parser and PngImagePlugin.ChunkStream 2793
[radarhere]

- ImageDraw.textsize: fix zero length error 2788
[wiredfool, hugovk]

Page 7 of 24

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.