Pillow (PIL Fork)
  • Installation
    • Warnings
    • Notes
    • Basic Installation
    • External Libraries
    • Build Options
    • OS X Installation
    • Windows Installation
      • Python Eggs
      • Python Wheels
    • FreeBSD Installation
    • Linux Installation
    • Platform Support
    • Old Versions
  • Handbook
    • Overview
      • Image Archives
      • Image Display
      • Image Processing
    • Tutorial
      • Using the Image class
      • Reading and writing images
        • Convert files to JPEG
        • Create JPEG thumbnails
        • Identify Image Files
      • Cutting, pasting, and merging images
        • Copying a subrectangle from an image
        • Processing a subrectangle, and pasting it back
        • Rolling an image
        • Splitting and merging bands
      • Geometrical transforms
        • Simple geometry transforms
        • Transposing an image
      • Color transforms
        • Converting between modes
      • Image enhancement
        • Filters
        • Point Operations
        • Enhancement
      • Image sequences
        • Reading sequences
        • A sequence iterator class
      • Postscript printing
        • Drawing Postscript
      • More on reading images
        • Reading from an open file
        • Reading from a string
        • Reading from a tar archive
      • Controlling the decoder
        • Reading in draft mode
    • Concepts
      • Bands
      • Modes
      • Size
      • Coordinate System
      • Palette
      • Info
      • Filters
    • Appendices
      • Image file formats
        • Fully supported formats
        • Read-only formats
        • Write-only formats
        • Identify-only formats
      • Writing Your Own File Decoder
        • Example
        • The tile attribute
        • The raw decoder
        • Decoding floating point data
        • The bit decoder
  • Reference
    • Image Module
      • Examples
        • Open, rotate, and display an image (using the default viewer)
        • Create thumbnails
      • Functions
        • Image processing
        • Constructing images
        • Registering plugins
      • The Image Class
      • Attributes
    • ImageChops (“Channel Operations”) Module
      • Functions
    • ImageColor Module
      • Color Names
      • Functions
    • ImageCms Module
    • ImageDraw Module
      • Example: Draw a gray cross over an image
      • Concepts
        • Coordinates
        • Colors
        • Color Names
        • Fonts
      • Example: Draw Partial Opacity Text
      • Functions
      • Methods
      • Legacy API
    • ImageEnhance Module
      • Example: Vary the sharpness of an image
      • Classes
    • ImageFile Module
      • Example: Parse an image
      • Parser
    • ImageFilter Module
      • Example: Filter an image
      • Filters
    • ImageFont Module
      • Example
      • Functions
      • Methods
    • ImageGrab Module (OS X and Windows only)
    • ImageMath Module
      • Example: Using the ImageMath module
      • Expression syntax
        • Standard Operators
        • Bitwise Operators
        • Logical Operators
        • Built-in Functions
    • ImageMorph Module
    • ImageOps Module
    • ImagePalette Module
    • ImagePath Module
    • ImageQt Module
    • ImageSequence Module
      • Extracting frames from an animation
      • The Iterator class
    • ImageStat Module
    • ImageTk Module
    • ImageWin Module (Windows-only)
    • ExifTags Module
    • OleFileIO Module
      • How to use this module
        • About the structure of OLE files
        • Test if a file is an OLE container
        • Open an OLE file from disk
        • Open an OLE file from a file-like object
        • How to handle malformed OLE files
        • Syntax for stream and storage path
        • Get the list of streams
        • Test if known streams/storages exist:
        • Read data from a stream
        • Get information about a stream/storage
        • Extract metadata
        • Parse a property stream
        • Close the OLE file
        • Use OleFileIO as a script
      • How to contribute
      • How to report bugs
      • Classes and Methods
    • PSDraw Module
    • PixelAccess Class
      • Example
      • PixelAccess Class
    • PyAccess Module
      • Example
      • PyAccess Class
    • PIL Package (autodoc of remaining modules)
      • BdfFontFile Module
      • ContainerIO Module
      • FontFile Module
      • GdImageFile Module
      • GimpGradientFile Module
      • GimpPaletteFile Module
      • ImageDraw2 Module
      • ImageShow Module
      • ImageTransform Module
      • JpegPresets Module
        • Subsampling
        • Quantization tables
      • PaletteFile Module
      • PcfFontFile Module
      • PngImagePlugin.iTXt Class
      • PngImagePlugin.PngInfo Class
      • TarIO Module
      • WalImageFile Module
      • _binary Module
    • Plugin reference
      • BmpImagePlugin Module
      • BufrStubImagePlugin Module
      • CurImagePlugin Module
      • DcxImagePlugin Module
      • EpsImagePlugin Module
      • FitsStubImagePlugin Module
      • FliImagePlugin Module
      • FpxImagePlugin Module
      • GbrImagePlugin Module
      • GifImagePlugin Module
      • GribStubImagePlugin Module
      • Hdf5StubImagePlugin Module
      • IcnsImagePlugin Module
      • IcoImagePlugin Module
      • ImImagePlugin Module
      • ImtImagePlugin Module
      • IptcImagePlugin Module
      • JpegImagePlugin Module
      • Jpeg2KImagePlugin Module
      • McIdasImagePlugin Module
      • MicImagePlugin Module
      • MpegImagePlugin Module
      • MspImagePlugin Module
      • PalmImagePlugin Module
      • PcdImagePlugin Module
      • PcxImagePlugin Module
      • PdfImagePlugin Module
      • PixarImagePlugin Module
      • PngImagePlugin Module
      • PpmImagePlugin Module
      • PsdImagePlugin Module
      • SgiImagePlugin Module
      • SpiderImagePlugin Module
      • SunImagePlugin Module
      • TgaImagePlugin Module
      • TiffImagePlugin Module
      • WebPImagePlugin Module
      • WmfImagePlugin Module
      • XVThumbImagePlugin Module
      • XbmImagePlugin Module
      • XpmImagePlugin Module
  • Porting
  • About
    • Goals
    • License
    • Why a fork?
    • What about PIL?
  • Release Notes
    • 3.0.0
      • Saving Multipage Images
      • Tiff ImageFileDirectory Rewrite
      • Deprecated Methods
    • 2.8.0
      • Open HTTP response objects with Image.open
    • 2.7.0
      • Sane Plugin
      • Png text chunk size limits
      • Image resizing filters
        • Bicubic and bilinear downscaling
        • Antialias renamed to Lanczos
        • Lanczos upscaling quality
        • Bicubic upscaling quality
        • Resize performance
        • Default filter for thumbnails
      • Image transposition
      • Gaussian blur and unsharp mask
        • Blur radius
        • Blur performance
        • Blur quality
      • TIFF Parameter Changes
 
Pillow (PIL Fork)
  • Docs »
  • Pillow
  • View page source

Pillow¶

Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and Contributors.

Travis CI build status (Linux) Travis CI build status (OS X) Latest PyPI version Number of PyPI downloads https://coveralls.io/repos/python-pillow/Pillow/badge.svg?branch=master Code health
  • Installation
    • Warnings
    • Notes
    • Basic Installation
    • External Libraries
    • Build Options
    • OS X Installation
    • Windows Installation
    • FreeBSD Installation
    • Linux Installation
    • Platform Support
    • Old Versions
  • Handbook
    • Overview
    • Tutorial
    • Concepts
    • Appendices
  • Reference
    • Image Module
    • ImageChops (“Channel Operations”) Module
    • ImageColor Module
    • ImageCms Module
    • ImageDraw Module
    • ImageEnhance Module
    • ImageFile Module
    • ImageFilter Module
    • ImageFont Module
    • ImageGrab Module (OS X and Windows only)
    • ImageMath Module
    • ImageMorph Module
    • ImageOps Module
    • ImagePalette Module
    • ImagePath Module
    • ImageQt Module
    • ImageSequence Module
    • ImageStat Module
    • ImageTk Module
    • ImageWin Module (Windows-only)
    • ExifTags Module
    • OleFileIO Module
    • PSDraw Module
    • PixelAccess Class
    • PyAccess Module
    • PIL Package (autodoc of remaining modules)
    • Plugin reference
  • Porting
  • About
    • Goals
    • License
    • Why a fork?
    • What about PIL?
  • Release Notes
    • 3.0.0
    • 2.8.0
    • 2.7.0

Indices and tables¶

  • Index
  • Module Index
  • Search Page
Next

© Copyright 1995-2015, Fredrik Lundh and Contributors, Alex Clark and Contributors.

Built with Sphinx using a theme provided by Read the Docs.