

Image moduleImageChops (“channel operations”) moduleImageCms moduleImageColor moduleImageDraw moduleImageEnhance moduleImageFile moduleImageFilter moduleImageFont moduleImageGrab moduleImageMath moduleImageMorph moduleImageOps moduleImagePalette moduleImagePath moduleImageQt moduleImageSequence moduleImageShow moduleImageStat moduleImageText moduleImageTk moduleImageTransform moduleImageWin module (Windows-only)ExifTags moduleTiffTags moduleJpegPresets modulePSDraw modulePixelAccess classfeatures moduleThe nominally private/debugging functionImage.core.open_ppm hasbeen removed. If you were using this function, please useImage.open instead.
JPEG images cannot contain an alpha channel. Pillow prior to 3.4.0silently drops the alpha channel. With this release Pillow will nowissue aDeprecationWarning when attempting to save aRGBA modeimage as a JPEG. This will become an error in Pillow 4.2.
Two new filters available forImage.resize() andImage.thumbnail()functions:BOX andHAMMING.BOX is the high-performance filter withtwo times shorter window thanBILINEAR. It can be used for image reduction3 and more times and produces a sharper result thanBILINEAR.
HAMMING filter has the same performance asBILINEAR filter whileproviding the image downscaling quality comparable toBICUBIC.Both new filters don’t show good quality for the image upscaling.
Pillow can now decode DXT3 images, as well as the previously supportedDXT1 and DXT5 formats. All three formats are now decoded in C code forbetter performance.
Additional frames can now be appended when saving a GIF file, through theappend_images argument. The new frames are passed in as a list of images,which may be have multiple frames themselves.
Note that theappend_images argument is only used ifsave_all is alsoin effect, e.g.:
im.save(out,save_all=True,append_images=[im1,im2,...])
Multiple frames can now be saved in a TIFF file by using thesave_all option.e.g.:
im.save("filename.tiff",format="TIFF",save_all=True)