2
The Python Imaging Library
3
$Id: FORMATS,v 1.5 1996/10/04 19:41:25 fredrik Exp $
5
*** File formats supported by release 1.0rc1 ***
8
--------------------------------------------------------------------
9
ARG Reads the (highly experimental) ARG animation format. [1, 2]
11
BMP Reads and writes 1, 4, 8 and 24-bit uncompressed images. RLE
12
compressed files are not supported.
14
CUR Reads 4 and 8-bit Windows cursor files. If a file contains
15
multiple cursors, the largest size is loaded. Animated
16
cursors are not supported.
18
DCX Reads DCX files (compound PCX files). See PCX for details.
19
You can use seek/tell to load individual frames.
21
EPS Identifies EPS images. Writes "L", "RGB" and "CMYK" images.
22
Output is an EPS file covering (0, 0, xsize, ysize) in the
23
Postscript coordinate space. Use scale/translate operators
24
to put the image in place. (For easy printing, use the PSDraw
27
FLI Reads Autodesk FLI and FLC animation files.
29
FPX Reads FlashPix files. Only the highest resolution layer is
30
read, and the viewing transform is ignored. [1]
32
GBR Reads GIMP brushes.
34
GD Reads GD images through the "GdImageFile" module. Note that
35
this format cannot be automatically identified by Image.open(),
36
so you have to use the GdImageFile.open() function instead.
38
GIF Reads GIF87 and GIF89 images, and writes uncompressed GIF87
39
images. Animation files can be handled via the "seek/tell"
40
methods. To generate animation files, see the "gifmaker.py"
43
ICO Reads 4 and 8-bit Windows icon files. If a file contains
44
multiple icons, the largest size is loaded.
46
IM Reads and writes basic versions of the IFUNC/LabEye IM format.
48
IMT Reads single-layer, 8-bit images of the Image Tools format.
50
IPTC Reads some versions of the IPTC/ANPA Newsphoto format. Tags
51
are stored in the "info" attribute. This driver is experimental.
53
JPEG Reads and writes "L", "RGB", "CMYK" and "YCrCb" images. Note
54
that YCrCb files are automatically converted to RGB, unless you
55
use the "draft" method. This driver also supports progressive
58
MCIDAS Reads 8-bit McIdas area files.
60
MIC Reads Microsoft Image Composer images. You can use the seek
61
method to access the individual sprites in the file.
63
MPEG Identifies MPEG video streams.
65
MSP Reads and writes MSP images. Reads both version 1 and version
66
2 files, but writes version 1 files only (uncompressed).
68
PCD Reads PhotoCD (PCD) images. PIL reads the base resolution
71
PCX Reads and writes 1, 2, 4, 8, and 24-bit compressed images.
72
Uncompressed PCX files are not supported.
74
PDF Identifies and writes PDF images. [1]
76
PIXAR Reads PIXAR raster files. Only "RGB" images are supported in
77
this version. This driver is experimental.
79
PNG Reads W3O PNG files of all possible flavours (except interlaced
80
files in this version). Writes "1", "P", "L", "I", "RGB", and
83
PPM Reads and writes "1" (PBM), "L" (PGM), and "RGB" (PPM) images.
85
PSD Reads Adobe PSD files. Both uncompressed and compressed
86
(packbits) versions are supported. Note that overlays and
87
auxiliary layers are not read.
89
SGI Reads uncompressed "L" and "RGB" images.
91
SUN Reads uncompressed "1", "L" and "RGB" images.
93
TGA Reads uncompressed 8, 16, 24 and 32-bit "P", "L", "RGB", and
96
TIFF Reads and writes "1", "L", "RGB", "RGBA", and "CMYK" images.
97
PIL reads the following TIFF flavours:
98
- organization: striped, tiled, planar, packed
99
- compression: none, jpeg [1], lzw, lzw+predictor, packbits
100
The TIFF tag directory can be inspected through the "tag" member.
101
Multi-image files can be handled though the "seek/tell" methods.
102
PIL currently writes uncompressed, single strip images only.
104
WMF Reads and renders a subset of the Windows metafile format.
105
This driver is experimental.
107
XBM Reads and writes XBM bitmaps.
109
XPM Reads XPM pixmaps.
111
--------------------------------------------------------------------
114
[1] When linked with the IJG JPEG library (version 6.0).
116
[2] When linked with the ZLIB library (version 1.0). Note that
117
LIBPNG is not required to read PNG files.