mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Clean up
This commit is contained in:
parent
43cce2c488
commit
18fce4269d
|
@ -164,7 +164,7 @@ html_static_path = ['_static']
|
|||
#html_file_suffix = None
|
||||
|
||||
# Output file base name for HTML help builder.
|
||||
htmlhelp_basename = 'Pillowdocumentationdoc'
|
||||
#htmlhelp_basename = None
|
||||
|
||||
|
||||
# -- Options for LaTeX output --------------------------------------------------
|
||||
|
@ -183,8 +183,6 @@ latex_elements = {
|
|||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||
latex_documents = [
|
||||
('index', 'Pillowdocumentation.tex', u'Pillow documentation Documentation',
|
||||
u'Alex Clark (PIL fork author)', 'manual'),
|
||||
]
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top of
|
||||
|
@ -213,8 +211,6 @@ latex_documents = [
|
|||
# One entry per manual page. List of tuples
|
||||
# (source start file, name, description, authors, manual section).
|
||||
man_pages = [
|
||||
('index', 'pillowdocumentation', u'Pillow documentation Documentation',
|
||||
[u'Alex Clark (PIL fork author)'], 1)
|
||||
]
|
||||
|
||||
# If true, show URL addresses after external links.
|
||||
|
@ -227,9 +223,6 @@ man_pages = [
|
|||
# (source start file, target name, title, author,
|
||||
# dir menu entry, description, category)
|
||||
texinfo_documents = [
|
||||
('index', 'Pillowdocumentation', u'Pillow documentation Documentation',
|
||||
u'Alex Clark (PIL fork author)', 'Pillowdocumentation', 'One line description of project.',
|
||||
'Miscellaneous'),
|
||||
]
|
||||
|
||||
# Documents to append as an appendix to all manuals.
|
||||
|
|
103
docs/index.html
103
docs/index.html
|
@ -1,103 +0,0 @@
|
|||
|
||||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The Python Imaging Library</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The Python Imaging Library</h1>
|
||||
|
||||
<h3 id='online'>Online Resources</h3>
|
||||
|
||||
<dl>
|
||||
<dt><a href='http://www.pythonware.com/products/pil'><i>Python Imaging Library</i></a> (official product page at <a href="http://www.pythonware.com">pythonware.com</a>)</dt>
|
||||
<dt><a href='http://effbot.org/zone/pil-index.htm'><i>Python Imaging Library</i></a> (development page at <a href="http://effbot.org">effbot.org</a>)</dt>
|
||||
</dl>
|
||||
|
||||
<h3>Package Contents</h3>
|
||||
|
||||
<p>The following pages are generated from <a href='http://effbot.org/zone/pythondoc.htm'><b>pythondoc</b></a> markup in the source files.</p>
|
||||
|
||||
<dl>
|
||||
<dt><a href='pythondoc-PIL.Image.html'>The PIL.Image Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageChops.html'>The PIL.ImageChops Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageColor.html'>The PIL.ImageColor Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageDraw.html'>The PIL.ImageDraw Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageEnhance.html'>The PIL.ImageEnhance Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageFile.html'>The PIL.ImageFile Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageFileIO.html'>The PIL.ImageFileIO Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageFilter.html'>The PIL.ImageFilter Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageFont.html'>The PIL.ImageFont Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageGL.html'>The PIL.ImageGL Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageGrab.html'>The PIL.ImageGrab Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageMath.html'>The PIL.ImageMath Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageMode.html'>The PIL.ImageMode Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageOps.html'>The PIL.ImageOps Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImagePalette.html'>The PIL.ImagePalette Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImagePath.html'>The PIL.ImagePath Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageQt.html'>The PIL.ImageQt Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageSequence.html'>The PIL.ImageSequence Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageStat.html'>The PIL.ImageStat Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageTk.html'>The PIL.ImageTk Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageTransform.html'>The PIL.ImageTransform Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImageWin.html'>The PIL.ImageWin Module</a></dt>
|
||||
<dt> </dt>
|
||||
<dt><a href='pythondoc-PIL.ArgImagePlugin.html'>The PIL.ArgImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.BdfFontFile.html'>The PIL.BdfFontFile Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.BmpImagePlugin.html'>The PIL.BmpImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.BufrStubImagePlugin.html'>The PIL.BufrStubImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ContainerIO.html'>The PIL.ContainerIO Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.CurImagePlugin.html'>The PIL.CurImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.DcxImagePlugin.html'>The PIL.DcxImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.EpsImagePlugin.html'>The PIL.EpsImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ExifTags.html'>The PIL.ExifTags Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.FitsStubImagePlugin.html'>The PIL.FitsStubImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.FliImagePlugin.html'>The PIL.FliImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.FontFile.html'>The PIL.FontFile Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.FpxImagePlugin.html'>The PIL.FpxImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.GbrImagePlugin.html'>The PIL.GbrImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.GdImageFile.html'>The PIL.GdImageFile Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.GifImagePlugin.html'>The PIL.GifImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.GimpGradientFile.html'>The PIL.GimpGradientFile Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.GimpPaletteFile.html'>The PIL.GimpPaletteFile Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.GribStubImagePlugin.html'>The PIL.GribStubImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.Hdf5StubImagePlugin.html'>The PIL.Hdf5StubImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.IcnsImagePlugin.html'>The PIL.IcnsImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.IcoImagePlugin.html'>The PIL.IcoImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImImagePlugin.html'>The PIL.ImImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.ImtImagePlugin.html'>The PIL.ImtImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.IptcImagePlugin.html'>The PIL.IptcImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.JpegImagePlugin.html'>The PIL.JpegImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.McIdasImagePlugin.html'>The PIL.McIdasImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.MicImagePlugin.html'>The PIL.MicImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.MpegImagePlugin.html'>The PIL.MpegImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.MspImagePlugin.html'>The PIL.MspImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.OleFileIO.html'>The PIL.OleFileIO Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.PSDraw.html'>The PIL.PSDraw Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.PaletteFile.html'>The PIL.PaletteFile Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.PalmImagePlugin.html'>The PIL.PalmImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.PcdImagePlugin.html'>The PIL.PcdImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.PcfFontFile.html'>The PIL.PcfFontFile Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.PcxImagePlugin.html'>The PIL.PcxImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.PdfImagePlugin.html'>The PIL.PdfImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.PixarImagePlugin.html'>The PIL.PixarImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.PngImagePlugin.html'>The PIL.PngImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.PpmImagePlugin.html'>The PIL.PpmImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.PsdImagePlugin.html'>The PIL.PsdImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.SgiImagePlugin.html'>The PIL.SgiImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.SunImagePlugin.html'>The PIL.SunImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.TarIO.html'>The PIL.TarIO Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.TgaImagePlugin.html'>The PIL.TgaImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.TiffImagePlugin.html'>The PIL.TiffImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.TiffTags.html'>The PIL.TiffTags Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.WalImageFile.html'>The PIL.WalImageFile Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.WbmpImagePlugin.html'>The PIL.WbmpImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.WmfImagePlugin.html'>The PIL.WmfImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.XVThumbImagePlugin.html'>The PIL.XVThumbImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.XbmImagePlugin.html'>The PIL.XbmImagePlugin Module</a></dt>
|
||||
<dt><a href='pythondoc-PIL.XpmImagePlugin.html'>The PIL.XpmImagePlugin Module</a></dt>
|
||||
</dl>
|
||||
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ArgImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ArgImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>ArgImageFile</b> (class) [<a href='#PIL.ArgImagePlugin.ArgImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the experimental Animated Raster Graphics format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ArgImagePlugin.ArgImageFile-class'><i>The ArgImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ArgImagePlugin.ArgImageFile-class' name='PIL.ArgImagePlugin.ArgImageFile-class'>The ArgImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ArgImageFile</b> (class) [<a href='#PIL.ArgImagePlugin.ArgImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.BdfFontFile Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.BdfFontFile Module</h1>
|
||||
<dl>
|
||||
<dt><b>BdfFontFile(fp)</b> (class) [<a href='#PIL.BdfFontFile.BdfFontFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Font file plugin for the X11 BDF format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.BdfFontFile.BdfFontFile-class'><i>The BdfFontFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.BdfFontFile.BdfFontFile-class' name='PIL.BdfFontFile.BdfFontFile-class'>The BdfFontFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>BdfFontFile(fp)</b> (class) [<a href='#PIL.BdfFontFile.BdfFontFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.BmpImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.BmpImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>BmpImageFile</b> (class) [<a href='#PIL.BmpImagePlugin.BmpImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the Windows BMP format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.BmpImagePlugin.BmpImageFile-class'><i>The BmpImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.BmpImagePlugin.BmpImageFile-class' name='PIL.BmpImagePlugin.BmpImageFile-class'>The BmpImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>BmpImageFile</b> (class) [<a href='#PIL.BmpImagePlugin.BmpImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.BufrStubImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.BufrStubImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><a id='PIL.BufrStubImagePlugin.register_handler-function' name='PIL.BufrStubImagePlugin.register_handler-function'><b>register_handler(handler)</b></a> [<a href='#PIL.BufrStubImagePlugin.register_handler-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>handler</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,87 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ContainerIO Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ContainerIO Module</h1>
|
||||
<dl>
|
||||
<dt><b>ContainerIO(file, offset, length)</b> (class) [<a href='#PIL.ContainerIO.ContainerIO-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>A file object that provides read access to a part of an existing
|
||||
file (for example a TAR file).</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ContainerIO.ContainerIO-class'><i>The ContainerIO Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ContainerIO.ContainerIO-class' name='PIL.ContainerIO.ContainerIO-class'>The ContainerIO Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ContainerIO(file, offset, length)</b> (class) [<a href='#PIL.ContainerIO.ContainerIO-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ContainerIO.ContainerIO.__init__-method' name='PIL.ContainerIO.ContainerIO.__init__-method'><b>__init__(file, offset, length)</b></a> [<a href='#PIL.ContainerIO.ContainerIO.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>file</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>offset</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>length</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ContainerIO.ContainerIO.isatty-method' name='PIL.ContainerIO.ContainerIO.isatty-method'><b>isatty()</b></a> [<a href='#PIL.ContainerIO.ContainerIO.isatty-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ContainerIO.ContainerIO.read-method' name='PIL.ContainerIO.ContainerIO.read-method'><b>read(bytes=0)</b></a> [<a href='#PIL.ContainerIO.ContainerIO.read-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>bytes</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ContainerIO.ContainerIO.readline-method' name='PIL.ContainerIO.ContainerIO.readline-method'><b>readline()</b></a> [<a href='#PIL.ContainerIO.ContainerIO.readline-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ContainerIO.ContainerIO.readlines-method' name='PIL.ContainerIO.ContainerIO.readlines-method'><b>readlines()</b></a> [<a href='#PIL.ContainerIO.ContainerIO.readlines-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ContainerIO.ContainerIO.seek-method' name='PIL.ContainerIO.ContainerIO.seek-method'><b>seek(offset, mode=0)</b></a> [<a href='#PIL.ContainerIO.ContainerIO.seek-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>offset</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ContainerIO.ContainerIO.tell-method' name='PIL.ContainerIO.ContainerIO.tell-method'><b>tell()</b></a> [<a href='#PIL.ContainerIO.ContainerIO.tell-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.CurImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.CurImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>CurImageFile</b> (class) [<a href='#PIL.CurImagePlugin.CurImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for Windows Cursor files.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.CurImagePlugin.CurImageFile-class'><i>The CurImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.CurImagePlugin.CurImageFile-class' name='PIL.CurImagePlugin.CurImageFile-class'>The CurImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>CurImageFile</b> (class) [<a href='#PIL.CurImagePlugin.CurImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.DcxImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.DcxImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>DcxImageFile</b> (class) [<a href='#PIL.DcxImagePlugin.DcxImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the Intel DCX format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.DcxImagePlugin.DcxImageFile-class'><i>The DcxImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.DcxImagePlugin.DcxImageFile-class' name='PIL.DcxImagePlugin.DcxImageFile-class'>The DcxImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>DcxImageFile</b> (class) [<a href='#PIL.DcxImagePlugin.DcxImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.EpsImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.EpsImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>EpsImageFile</b> (class) [<a href='#PIL.EpsImagePlugin.EpsImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for Encapsulated Postscript.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.EpsImagePlugin.EpsImageFile-class'><i>The EpsImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.EpsImagePlugin.EpsImageFile-class' name='PIL.EpsImagePlugin.EpsImageFile-class'>The EpsImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>EpsImageFile</b> (class) [<a href='#PIL.EpsImagePlugin.EpsImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,19 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ExifTags Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ExifTags Module</h1>
|
||||
<h2>Module Contents</h2>
|
||||
<dl>
|
||||
<dt><a id='PIL.ExifTags.GPSTAGS-variable' name='PIL.ExifTags.GPSTAGS-variable'><b>GPSTAGS</b></a> (variable) [<a href='#PIL.ExifTags.GPSTAGS-variable'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ExifTags.TAGS-variable' name='PIL.ExifTags.TAGS-variable'><b>TAGS</b></a> (variable) [<a href='#PIL.ExifTags.TAGS-variable'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.FitsStubImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.FitsStubImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><a id='PIL.FitsStubImagePlugin.register_handler-function' name='PIL.FitsStubImagePlugin.register_handler-function'><b>register_handler(handler)</b></a> [<a href='#PIL.FitsStubImagePlugin.register_handler-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>handler</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,25 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.FliImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.FliImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>FliImageFile</b> (class) [<a href='#PIL.FliImagePlugin.FliImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the FLI/FLC animation format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.FliImagePlugin.FliImageFile-class'><i>The FliImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.FliImagePlugin.FliImageFile-class' name='PIL.FliImagePlugin.FliImageFile-class'>The FliImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>FliImageFile</b> (class) [<a href='#PIL.FliImagePlugin.FliImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the FLI/FLC animation format. Use the <b>seek</b>
|
||||
method to load individual frames.
|
||||
</p></dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.FontFile Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.FontFile Module</h1>
|
||||
<dl>
|
||||
<dt><b>FontFile()</b> (class) [<a href='#PIL.FontFile.FontFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Base class for raster font file handlers.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.FontFile.FontFile-class'><i>The FontFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.FontFile.FontFile-class' name='PIL.FontFile.FontFile-class'>The FontFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>FontFile()</b> (class) [<a href='#PIL.FontFile.FontFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.FpxImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.FpxImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>FpxImageFile</b> (class) [<a href='#PIL.FpxImagePlugin.FpxImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the FlashPix images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.FpxImagePlugin.FpxImageFile-class'><i>The FpxImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.FpxImagePlugin.FpxImageFile-class' name='PIL.FpxImagePlugin.FpxImageFile-class'>The FpxImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>FpxImageFile</b> (class) [<a href='#PIL.FpxImagePlugin.FpxImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.GbrImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.GbrImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>GbrImageFile</b> (class) [<a href='#PIL.GbrImagePlugin.GbrImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the GIMP brush format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.GbrImagePlugin.GbrImageFile-class'><i>The GbrImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.GbrImagePlugin.GbrImageFile-class' name='PIL.GbrImagePlugin.GbrImageFile-class'>The GbrImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>GbrImageFile</b> (class) [<a href='#PIL.GbrImagePlugin.GbrImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,43 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.GdImageFile Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.GdImageFile Module</h1>
|
||||
<dl>
|
||||
<dt><b>GdImageFile</b> (class) [<a href='#PIL.GdImageFile.GdImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the GD uncompressed format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.GdImageFile.GdImageFile-class'><i>The GdImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><a id='PIL.GdImageFile.open-function' name='PIL.GdImageFile.open-function'><b>open(fp, mode="r")</b></a> [<a href='#PIL.GdImageFile.open-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>filename</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>IOError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.GdImageFile.GdImageFile-class' name='PIL.GdImageFile.GdImageFile-class'>The GdImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>GdImageFile</b> (class) [<a href='#PIL.GdImageFile.GdImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the GD uncompressed format. Note that this format
|
||||
is not supported by the standard <b>Image.open</b> function. To use
|
||||
this plugin, you have to import the <b>GdImageFile</b> module and
|
||||
use the <b>GdImageFile.open</b> function.
|
||||
</p></dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.GifImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.GifImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>GifImageFile</b> (class) [<a href='#PIL.GifImagePlugin.GifImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for GIF images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.GifImagePlugin.GifImageFile-class'><i>The GifImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.GifImagePlugin.GifImageFile-class' name='PIL.GifImagePlugin.GifImageFile-class'>The GifImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>GifImageFile</b> (class) [<a href='#PIL.GifImagePlugin.GifImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.GimpGradientFile Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.GimpGradientFile Module</h1>
|
||||
<dl>
|
||||
<dt><b>GimpGradientFile(fp)</b> (class) [<a href='#PIL.GimpGradientFile.GimpGradientFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>File handler for GIMP's gradient format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.GimpGradientFile.GimpGradientFile-class'><i>The GimpGradientFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.GimpGradientFile.GimpGradientFile-class' name='PIL.GimpGradientFile.GimpGradientFile-class'>The GimpGradientFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>GimpGradientFile(fp)</b> (class) [<a href='#PIL.GimpGradientFile.GimpGradientFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.GimpPaletteFile Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.GimpPaletteFile Module</h1>
|
||||
<dl>
|
||||
<dt><b>GimpPaletteFile(fp)</b> (class) [<a href='#PIL.GimpPaletteFile.GimpPaletteFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>File handler for GIMP's palette format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.GimpPaletteFile.GimpPaletteFile-class'><i>The GimpPaletteFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.GimpPaletteFile.GimpPaletteFile-class' name='PIL.GimpPaletteFile.GimpPaletteFile-class'>The GimpPaletteFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>GimpPaletteFile(fp)</b> (class) [<a href='#PIL.GimpPaletteFile.GimpPaletteFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.GribStubImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.GribStubImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><a id='PIL.GribStubImagePlugin.register_handler-function' name='PIL.GribStubImagePlugin.register_handler-function'><b>register_handler(handler)</b></a> [<a href='#PIL.GribStubImagePlugin.register_handler-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>handler</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.Hdf5StubImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.Hdf5StubImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><a id='PIL.Hdf5StubImagePlugin.register_handler-function' name='PIL.Hdf5StubImagePlugin.register_handler-function'><b>register_handler(handler)</b></a> [<a href='#PIL.Hdf5StubImagePlugin.register_handler-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>handler</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.IcnsImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.IcnsImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>IcnsImageFile</b> (class) [<a href='#PIL.IcnsImagePlugin.IcnsImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for Mac OS icons.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.IcnsImagePlugin.IcnsImageFile-class'><i>The IcnsImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.IcnsImagePlugin.IcnsImageFile-class' name='PIL.IcnsImagePlugin.IcnsImageFile-class'>The IcnsImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>IcnsImageFile</b> (class) [<a href='#PIL.IcnsImagePlugin.IcnsImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.IcoImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.IcoImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>IcoImageFile</b> (class) [<a href='#PIL.IcoImagePlugin.IcoImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for Windows Icon files.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.IcoImagePlugin.IcoImageFile-class'><i>The IcoImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.IcoImagePlugin.IcoImageFile-class' name='PIL.IcoImagePlugin.IcoImageFile-class'>The IcoImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>IcoImageFile</b> (class) [<a href='#PIL.IcoImagePlugin.IcoImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>ImImageFile</b> (class) [<a href='#PIL.ImImagePlugin.ImImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the IFUNC IM file format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImImagePlugin.ImImageFile-class'><i>The ImImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImImagePlugin.ImImageFile-class' name='PIL.ImImagePlugin.ImImageFile-class'>The ImImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ImImageFile</b> (class) [<a href='#PIL.ImImagePlugin.ImImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,931 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.Image Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.Image Module</h1>
|
||||
<dl>
|
||||
<dt><a id='PIL.Image.blend-function' name='PIL.Image.blend-function'><b>blend(im1, im2, alpha)</b></a> [<a href='#PIL.Image.blend-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Creates a new image by interpolating between two input images, using
|
||||
a constant alpha.
|
||||
|
||||
<pre>
|
||||
out = image1 * (1.0 - alpha) + image2 * alpha
|
||||
</pre>
|
||||
|
||||
</p><dl>
|
||||
<dt><i>im1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>im2</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>alpha</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.composite-function' name='PIL.Image.composite-function'><b>composite(image1, image2, mask)</b></a> [<a href='#PIL.Image.composite-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>image2</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>mask</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.eval-function' name='PIL.Image.eval-function'><b>eval(image, function)</b></a> [<a href='#PIL.Image.eval-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>function</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.frombuffer-function' name='PIL.Image.frombuffer-function'><b>frombuffer(mode, size, data, decoder_name="raw", *args)</b></a> [<a href='#PIL.Image.frombuffer-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>(New in 1.1.4) Creates an image memory from pixel data in a string
|
||||
or byte buffer.
|
||||
</p><p>
|
||||
This function is similar to <a class="link" href="#PIL.Image.fromstring-function"><b>fromstring</b></a>, but uses data in
|
||||
the byte buffer, where possible. This means that changes to the
|
||||
original buffer object are reflected in this image). Not all modes
|
||||
can share memory; support modes include "L", "RGBX", "RGBA", and
|
||||
"CMYK". For other modes, this function behaves like a corresponding
|
||||
call to the <b>fromstring</b> function.
|
||||
</p><p>
|
||||
Note that this function decodes pixel data only, not entire images.
|
||||
If you have an entire image file in a string, wrap it in a
|
||||
<b>StringIO</b> object, and use <a class="link" href="#PIL.Image.open-function"><b>open</b></a> to load it.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>data</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>decoder_name</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>*args</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.fromstring-function' name='PIL.Image.fromstring-function'><b>fromstring(mode, size, data, decoder_name="raw", *args)</b></a> [<a href='#PIL.Image.fromstring-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Creates an image memory from pixel data in a string.
|
||||
</p><p>
|
||||
In its simplest form, this function takes three arguments
|
||||
(mode, size, and unpacked pixel data).
|
||||
</p><p>
|
||||
You can also use any pixel decoder supported by PIL. For more
|
||||
information on available decoders, see the section <a href="pil-decoder.htm"><i>Writing Your Own File Decoder</i></a>.
|
||||
</p><p>
|
||||
Note that this function decodes pixel data only, not entire images.
|
||||
If you have an entire image in a string, wrap it in a
|
||||
<b>StringIO</b> object, and use <a class="link" href="#PIL.Image.open-function"><b>open</b></a> to load it.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>data</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>decoder_name</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>*args</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.getmodebandnames-function' name='PIL.Image.getmodebandnames-function'><b>getmodebandnames(mode)</b></a> [<a href='#PIL.Image.getmodebandnames-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Gets a list of individual band names. Given a mode, this function
|
||||
returns a tuple containing the names of individual bands (use
|
||||
<a class="link" href="#PIL.Image.getmodetype-function"><b>getmodetype</b></a> to get the mode used to store each individual
|
||||
band.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>KeyError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.getmodebands-function' name='PIL.Image.getmodebands-function'><b>getmodebands(mode)</b></a> [<a href='#PIL.Image.getmodebands-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>KeyError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.getmodebase-function' name='PIL.Image.getmodebase-function'><b>getmodebase(mode)</b></a> [<a href='#PIL.Image.getmodebase-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>KeyError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.getmodetype-function' name='PIL.Image.getmodetype-function'><b>getmodetype(mode)</b></a> [<a href='#PIL.Image.getmodetype-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>KeyError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><b>Image()</b> (class) [<a href='#PIL.Image.Image-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>This class represents an image object.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.Image.Image-class'><i>The Image Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.init-function' name='PIL.Image.init-function'><b>init()</b></a> [<a href='#PIL.Image.init-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.isDirectory-function' name='PIL.Image.isDirectory-function'><b>isDirectory(f)</b></a> [<a href='#PIL.Image.isDirectory-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.isImageType-function' name='PIL.Image.isImageType-function'><b>isImageType(t)</b></a> [<a href='#PIL.Image.isImageType-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.isStringType-function' name='PIL.Image.isStringType-function'><b>isStringType(t)</b></a> [<a href='#PIL.Image.isStringType-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.isTupleType-function' name='PIL.Image.isTupleType-function'><b>isTupleType(t)</b></a> [<a href='#PIL.Image.isTupleType-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.merge-function' name='PIL.Image.merge-function'><b>merge(mode, bands)</b></a> [<a href='#PIL.Image.merge-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>bands</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.new-function' name='PIL.Image.new-function'><b>new(mode, size, color=0)</b></a> [<a href='#PIL.Image.new-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>color</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.open-function' name='PIL.Image.open-function'><b>open(file, mode="r")</b></a> [<a href='#PIL.Image.open-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Opens and identifies the given image file.
|
||||
</p><p>
|
||||
This is a lazy operation; this function identifies the file, but the
|
||||
actual image data is not read from the file until you try to process
|
||||
the data (or call the <a class="link" href="#PIL.Image.Image.load-method"><b>load</b></a> method).
|
||||
|
||||
</p><dl>
|
||||
<dt><i>file</i></dt>
|
||||
<dd>
|
||||
A filename (string) or a file object. The file object
|
||||
must implement <b>read</b>, <b>seek</b>, and <b>tell</b> methods,
|
||||
and be opened in binary mode.
|
||||
</dd>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>IOError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.preinit-function' name='PIL.Image.preinit-function'><b>preinit()</b></a> [<a href='#PIL.Image.preinit-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.register_extension-function' name='PIL.Image.register_extension-function'><b>register_extension(id, extension)</b></a> [<a href='#PIL.Image.register_extension-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>id</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>extension</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.register_mime-function' name='PIL.Image.register_mime-function'><b>register_mime(id, mimetype)</b></a> [<a href='#PIL.Image.register_mime-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>id</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>mimetype</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.register_open-function' name='PIL.Image.register_open-function'><b>register_open(id, factory, accept=None)</b></a> [<a href='#PIL.Image.register_open-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>id</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>factory</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>accept</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.register_save-function' name='PIL.Image.register_save-function'><b>register_save(id, driver)</b></a> [<a href='#PIL.Image.register_save-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>id</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>driver</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.Image.Image-class' name='PIL.Image.Image-class'>The Image Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Image()</b> (class) [<a href='#PIL.Image.Image-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.convert-method' name='PIL.Image.Image.convert-method'><b>convert(mode, matrix=None)</b></a> [<a href='#PIL.Image.Image.convert-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Returns a converted copy of this image. For the "P" mode, this
|
||||
method translates pixels through the palette. If mode is
|
||||
omitted, a mode is chosen so that all information in the image
|
||||
and the palette can be represented without a palette.
|
||||
</p><p>
|
||||
The current version supports all possible conversions between
|
||||
"L", "RGB" and "CMYK."
|
||||
</p><p>
|
||||
When translating a colour image to black and white (mode "L"),
|
||||
the library uses the ITU-R 601-2 luma transform:
|
||||
</p><p>
|
||||
<b>L = R * 299/1000 + G * 587/1000 + B * 114/1000</b>
|
||||
</p><p>
|
||||
When translating a greyscale image into a bilevel image (mode
|
||||
"1"), all non-zero values are set to 255 (white). To use other
|
||||
thresholds, use the <a class="link" href="#PIL.Image.Image.point-method"><b>point</b></a> method.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>matrix</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.copy-method' name='PIL.Image.Image.copy-method'><b>copy()</b></a> [<a href='#PIL.Image.Image.copy-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.crop-method' name='PIL.Image.Image.crop-method'><b>crop(box=None)</b></a> [<a href='#PIL.Image.Image.crop-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Returns a rectangular region from this image. The box is a
|
||||
4-tuple defining the left, upper, right, and lower pixel
|
||||
coordinate.
|
||||
</p><p>
|
||||
This is a lazy operation. Changes to the source image may or
|
||||
may not be reflected in the cropped image. To break the
|
||||
connection, call the <a class="link" href="#PIL.Image.Image.load-method"><b>load</b></a> method on the cropped
|
||||
copy.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>The</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.draft-method' name='PIL.Image.Image.draft-method'><b>draft(mode, size)</b></a> [<a href='#PIL.Image.Image.draft-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Configures the image file loader so it returns a version of the
|
||||
image that as closely as possible matches the given mode and
|
||||
size. For example, you can use this method to convert a colour
|
||||
JPEG to greyscale while loading it, or to extract a 128x192
|
||||
version from a PCD file.
|
||||
</p><p>
|
||||
Note that this method modifies the Image object in place. If
|
||||
the image has already been loaded, this method has no effect.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.filter-method' name='PIL.Image.Image.filter-method'><b>filter(filter)</b></a> [<a href='#PIL.Image.Image.filter-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Filters this image using the given filter. For a list of
|
||||
available filters, see the <b>ImageFilter</b> module.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>filter</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.fromstring-method' name='PIL.Image.Image.fromstring-method'><b>fromstring(data, decoder_name="raw", *args)</b></a> [<a href='#PIL.Image.Image.fromstring-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Loads this image with pixel data from a string.
|
||||
</p><p>
|
||||
This method is similar to the <a class="link" href="#PIL.Image.fromstring-function"><b>fromstring</b></a> function, but
|
||||
loads data into this image instead of creating a new image
|
||||
object.
|
||||
</p></dd>
|
||||
<dt><a id='PIL.Image.Image.getbands-method' name='PIL.Image.Image.getbands-method'><b>getbands()</b></a> [<a href='#PIL.Image.Image.getbands-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Returns a tuple containing the name of each band in this image.
|
||||
For example, <b>getbands</b> on an RGB image returns ("R", "G", "B").
|
||||
|
||||
</p><dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.getbbox-method' name='PIL.Image.Image.getbbox-method'><b>getbbox()</b></a> [<a href='#PIL.Image.Image.getbbox-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.getcolors-method' name='PIL.Image.Image.getcolors-method'><b>getcolors(maxcolors=256)</b></a> [<a href='#PIL.Image.Image.getcolors-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>maxcolors</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.getdata-method' name='PIL.Image.Image.getdata-method'><b>getdata(band=None)</b></a> [<a href='#PIL.Image.Image.getdata-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Returns the contents of this image as a sequence object
|
||||
containing pixel values. The sequence object is flattened, so
|
||||
that values for line one follow directly after the values of
|
||||
line zero, and so on.
|
||||
</p><p>
|
||||
Note that the sequence object returned by this method is an
|
||||
internal PIL data type, which only supports certain sequence
|
||||
operations. To convert it to an ordinary sequence (e.g. for
|
||||
printing), use <b>list(im.getdata())</b>.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>band</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.getextrema-method' name='PIL.Image.Image.getextrema-method'><b>getextrema()</b></a> [<a href='#PIL.Image.Image.getextrema-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.getim-method' name='PIL.Image.Image.getim-method'><b>getim()</b></a> [<a href='#PIL.Image.Image.getim-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.getpalette-method' name='PIL.Image.Image.getpalette-method'><b>getpalette()</b></a> [<a href='#PIL.Image.Image.getpalette-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.getpixel-method' name='PIL.Image.Image.getpixel-method'><b>getpixel(xy)</b></a> [<a href='#PIL.Image.Image.getpixel-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>xy</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.getprojection-method' name='PIL.Image.Image.getprojection-method'><b>getprojection()</b></a> [<a href='#PIL.Image.Image.getprojection-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.histogram-method' name='PIL.Image.Image.histogram-method'><b>histogram(mask=None)</b></a> [<a href='#PIL.Image.Image.histogram-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Returns a histogram for the image. The histogram is returned as
|
||||
a list of pixel counts, one for each pixel value in the source
|
||||
image. If the image has more than one band, the histograms for
|
||||
all bands are concatenated (for example, the histogram for an
|
||||
"RGB" image contains 768 values).
|
||||
</p><p>
|
||||
A bilevel image (mode "1") is treated as a greyscale ("L") image
|
||||
by this method.
|
||||
</p><p>
|
||||
If a mask is provided, the method returns a histogram for those
|
||||
parts of the image where the mask image is non-zero. The mask
|
||||
image must have the same size as the image, and be either a
|
||||
bi-level image (mode "1") or a greyscale image ("L").
|
||||
|
||||
</p><dl>
|
||||
<dt><i>mask</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.load-method' name='PIL.Image.Image.load-method'><b>load()</b></a> [<a href='#PIL.Image.Image.load-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.offset-method' name='PIL.Image.Image.offset-method'><b>offset(xoffset, yoffset=None)</b></a> [<a href='#PIL.Image.Image.offset-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>(Deprecated) Returns a copy of the image where the data has been
|
||||
offset by the given distances. Data wraps around the edges. If
|
||||
yoffset is omitted, it is assumed to be equal to xoffset.
|
||||
</p><p>
|
||||
This method is deprecated. New code should use the <b>offset</b>
|
||||
function in the <b>ImageChops</b> module.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>xoffset</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>yoffset</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.paste-method' name='PIL.Image.Image.paste-method'><b>paste(im, box=None, mask=None)</b></a> [<a href='#PIL.Image.Image.paste-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Pastes another image into this image. The box argument is either
|
||||
a 2-tuple giving the upper left corner, a 4-tuple defining the
|
||||
left, upper, right, and lower pixel coordinate, or None (same as
|
||||
(0, 0)). If a 4-tuple is given, the size of the pasted image
|
||||
must match the size of the region.
|
||||
</p><p>
|
||||
If the modes don't match, the pasted image is converted to the
|
||||
mode of this image (see the <a class="link" href="#PIL.Image.Image.convert-method"><b>convert</b></a> method for
|
||||
details).
|
||||
</p><p>
|
||||
Instead of an image, the source can be a integer or tuple
|
||||
containing pixel values. The method then fills the region
|
||||
with the given colour. When creating RGB images, you can
|
||||
also use colour strings as supported by the ImageColor module.
|
||||
</p><p>
|
||||
If a mask is given, this method updates only the regions
|
||||
indicated by the mask. You can use either "1", "L" or "RGBA"
|
||||
images (in the latter case, the alpha band is used as mask).
|
||||
Where the mask is 255, the given image is copied as is. Where
|
||||
the mask is 0, the current value is preserved. Intermediate
|
||||
values can be used for transparency effects.
|
||||
</p><p>
|
||||
Note that if you paste an "RGBA" image, the alpha band is
|
||||
ignored. You can work around this by using the same image as
|
||||
both source image and mask.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>im</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>box</i></dt>
|
||||
<dd>
|
||||
<p>An optional 4-tuple giving the region to paste into.
|
||||
If a 2-tuple is used instead, it's treated as the upper left
|
||||
corner. If omitted or None, the source is pasted into the
|
||||
upper left corner.
|
||||
</p><p>
|
||||
If an image is given as the second argument and there is no
|
||||
third, the box defaults to (0, 0), and the second argument
|
||||
is interpreted as a mask image.
|
||||
</p></dd>
|
||||
<dt><i>mask</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.point-method' name='PIL.Image.Image.point-method'><b>point(lut, mode=None)</b></a> [<a href='#PIL.Image.Image.point-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>lut</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.putalpha-method' name='PIL.Image.Image.putalpha-method'><b>putalpha(alpha)</b></a> [<a href='#PIL.Image.Image.putalpha-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>im</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.putdata-method' name='PIL.Image.Image.putdata-method'><b>putdata(data, scale=1.0, offset=0.0)</b></a> [<a href='#PIL.Image.Image.putdata-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Copies pixel data to this image. This method copies data from a
|
||||
sequence object into the image, starting at the upper left
|
||||
corner (0, 0), and continuing until either the image or the
|
||||
sequence ends. The scale and offset values are used to adjust
|
||||
the sequence values: <b>pixel = value*scale + offset</b>.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>data</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>scale</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>offset</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.putpalette-method' name='PIL.Image.Image.putpalette-method'><b>putpalette(data)</b></a> [<a href='#PIL.Image.Image.putpalette-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>data</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.putpixel-method' name='PIL.Image.Image.putpixel-method'><b>putpixel(xy, value)</b></a> [<a href='#PIL.Image.Image.putpixel-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Modifies the pixel at the given position. The colour is given as
|
||||
a single numerical value for single-band images, and a tuple for
|
||||
multi-band images.
|
||||
</p><p>
|
||||
Note that this method is relatively slow. For more extensive
|
||||
changes, use <a class="link" href="#PIL.Image.Image.paste-method"><b>paste</b></a> or the <b>ImageDraw</b> module
|
||||
instead.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>xy</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>value</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.resize-method' name='PIL.Image.Image.resize-method'><b>resize(size, filter=NEAREST)</b></a> [<a href='#PIL.Image.Image.resize-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>filter</i></dt>
|
||||
<dd>
|
||||
An optional resampling filter. This can be
|
||||
one of <b>NEAREST</b> (use nearest neighbour), <b>BILINEAR</b>
|
||||
(linear interpolation in a 2x2 environment), <b>BICUBIC</b>
|
||||
(cubic spline interpolation in a 4x4 environment), or
|
||||
<b>ANTIALIAS</b> (a high-quality downsampling filter).
|
||||
If omitted, or if the image has mode "1" or "P", it is
|
||||
set <b>NEAREST</b>.
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.rotate-method' name='PIL.Image.Image.rotate-method'><b>rotate(angle, filter=NEAREST)</b></a> [<a href='#PIL.Image.Image.rotate-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>angle</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>filter</i></dt>
|
||||
<dd>
|
||||
An optional resampling filter. This can be
|
||||
one of <b>NEAREST</b> (use nearest neighbour), <b>BILINEAR</b>
|
||||
(linear interpolation in a 2x2 environment), or <b>BICUBIC</b>
|
||||
(cubic spline interpolation in a 4x4 environment).
|
||||
If omitted, or if the image has mode "1" or "P", it is
|
||||
set <b>NEAREST</b>.
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.save-method' name='PIL.Image.Image.save-method'><b>save(file, format=None, **options)</b></a> [<a href='#PIL.Image.Image.save-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Saves this image under the given filename. If no format is
|
||||
specified, the format to use is determined from the filename
|
||||
extension, if possible.
|
||||
</p><p>
|
||||
Keyword options can be used to provide additional instructions
|
||||
to the writer. If a writer doesn't recognise an option, it is
|
||||
silently ignored. The available options are described later in
|
||||
this handbook.
|
||||
</p><p>
|
||||
You can use a file object instead of a filename. In this case,
|
||||
you must always specify the format. The file object must
|
||||
implement the <b>seek</b>, <b>tell</b>, and <b>write</b>
|
||||
methods, and be opened in binary mode.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>file</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>format</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>**options</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>KeyError</b>:</dt><dd>
|
||||
</dd>
|
||||
<dt>Raises <b>IOError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.seek-method' name='PIL.Image.Image.seek-method'><b>seek(frame)</b></a> [<a href='#PIL.Image.Image.seek-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Seeks to the given frame in this sequence file. If you seek
|
||||
beyond the end of the sequence, the method raises an
|
||||
<b>EOFError</b> exception. When a sequence file is opened, the
|
||||
library automatically seeks to frame 0.
|
||||
</p><p>
|
||||
Note that in the current version of the library, most sequence
|
||||
formats only allows you to seek to the next frame.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>frame</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>EOFError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.show-method' name='PIL.Image.Image.show-method'><b>show(title=None)</b></a> [<a href='#PIL.Image.Image.show-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Displays this image. This method is mainly intended for
|
||||
debugging purposes.
|
||||
</p><p>
|
||||
On Unix platforms, this method saves the image to a temporary
|
||||
PPM file, and calls the <b>xv</b> utility.
|
||||
</p><p>
|
||||
On Windows, it saves the image to a temporary BMP file, and uses
|
||||
the standard BMP display utility to show it (usually Paint).
|
||||
|
||||
</p><dl>
|
||||
<dt><i>title</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.split-method' name='PIL.Image.Image.split-method'><b>split()</b></a> [<a href='#PIL.Image.Image.split-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.tell-method' name='PIL.Image.Image.tell-method'><b>tell()</b></a> [<a href='#PIL.Image.Image.tell-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.thumbnail-method' name='PIL.Image.Image.thumbnail-method'><b>thumbnail(size, resample=NEAREST)</b></a> [<a href='#PIL.Image.Image.thumbnail-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Make this image into a thumbnail. This method modifies the
|
||||
image to contain a thumbnail version of itself, no larger than
|
||||
the given size. This method calculates an appropriate thumbnail
|
||||
size to preserve the aspect of the image, calls the <a class="link" href="#PIL.Image.Image.draft-method"><b>draft</b></a> method to configure the file reader (where
|
||||
applicable), and finally resizes the image.
|
||||
</p><p>
|
||||
Note that the bilinear and bicubic filters in the current
|
||||
version of PIL are not well-suited for thumbnail generation.
|
||||
You should use <b>ANTIALIAS</b> unless speed is much more
|
||||
important than quality.
|
||||
</p><p>
|
||||
Also note that this function modifies the Image object in place.
|
||||
If you need to use the full resolution image as well, apply this
|
||||
method to a <a class="link" href="#PIL.Image.Image.copy-method"><b>copy</b></a> of the original image.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>resample</i></dt>
|
||||
<dd>
|
||||
Optional resampling filter. This can be one
|
||||
of <b>NEAREST</b>, <b>BILINEAR</b>, <b>BICUBIC</b>, or
|
||||
<b>ANTIALIAS</b> (best quality). If omitted, it defaults
|
||||
to <b>NEAREST</b> (this will be changed to ANTIALIAS in a
|
||||
future version).
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.tobitmap-method' name='PIL.Image.Image.tobitmap-method'><b>tobitmap(name="image")</b></a> [<a href='#PIL.Image.Image.tobitmap-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>name</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>ValueError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.tostring-method' name='PIL.Image.Image.tostring-method'><b>tostring(encoder_name="raw", *args)</b></a> [<a href='#PIL.Image.Image.tostring-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>encoder_name</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>*args</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.transform-method' name='PIL.Image.Image.transform-method'><b>transform(size, method, data, resample=NEAREST)</b></a> [<a href='#PIL.Image.Image.transform-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Transforms this image. This method creates a new image with the
|
||||
given size, and the same mode as the original, and copies data
|
||||
to the new image using the given transform.
|
||||
</p><p>
|
||||
</p><dl>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>method</i></dt>
|
||||
<dd>
|
||||
The transformation method. This is one of
|
||||
<b>EXTENT</b> (cut out a rectangular subregion), <b>AFFINE</b>
|
||||
(affine transform), <b>PERSPECTIVE</b> (perspective
|
||||
transform), <b>QUAD</b> (map a quadrilateral to a
|
||||
rectangle), or <b>MESH</b> (map a number of source quadrilaterals
|
||||
in one operation).
|
||||
</dd>
|
||||
<dt><i>data</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>resample</i></dt>
|
||||
<dd>
|
||||
Optional resampling filter. It can be one of
|
||||
<b>NEAREST</b> (use nearest neighbour), <b>BILINEAR</b>
|
||||
(linear interpolation in a 2x2 environment), or
|
||||
<b>BICUBIC</b> (cubic spline interpolation in a 4x4
|
||||
environment). If omitted, or if the image has mode
|
||||
"1" or "P", it is set to <b>NEAREST</b>.
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.transpose-method' name='PIL.Image.Image.transpose-method'><b>transpose(method)</b></a> [<a href='#PIL.Image.Image.transpose-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>method</i></dt>
|
||||
<dd>
|
||||
One of <b>FLIP_LEFT_RIGHT</b>, <b>FLIP_TOP_BOTTOM</b>,
|
||||
<b>ROTATE_90</b>, <b>ROTATE_180</b>, or <b>ROTATE_270</b>.
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.Image.Image.verify-method' name='PIL.Image.Image.verify-method'><b>verify()</b></a> [<a href='#PIL.Image.Image.verify-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,282 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageChops Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageChops Module</h1>
|
||||
<p>The <b>ImageChops</b> module contains a number of arithmetical image
|
||||
operations, called <i>channel operations</i> ("chops"). These can be
|
||||
used for various purposes, including special effects, image
|
||||
compositions, algorithmic painting, and more.
|
||||
</p><p>
|
||||
At this time, channel operations are only implemented for 8-bit
|
||||
images (e.g. "L" and "RGB").
|
||||
</p><p>
|
||||
Most channel operations take one or two image arguments and returns
|
||||
a new image. Unless otherwise noted, the result of a channel
|
||||
operation is always clipped to the range 0 to MAX (which is 255 for
|
||||
all modes supported by the operations in this module).
|
||||
</p><h2>Module Contents</h2>
|
||||
<dl>
|
||||
<dt><a id='PIL.ImageChops.add-function' name='PIL.ImageChops.add-function'><b>add(image1, image2, scale=1.0, offset=0)</b></a> [<a href='#PIL.ImageChops.add-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Add images
|
||||
((image1 + image2) / scale + offset).
|
||||
</p><p>
|
||||
Adds two images, dividing the result by scale and adding the
|
||||
offset. If omitted, scale defaults to 1.0, and offset to 0.0.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.add_modulo-function' name='PIL.ImageChops.add_modulo-function'><b>add_modulo(image1, image2)</b></a> [<a href='#PIL.ImageChops.add_modulo-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Add images without clipping
|
||||
((image1 + image2) % MAX).
|
||||
</p><p>
|
||||
Adds two images, without clipping the result.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.blend-function' name='PIL.ImageChops.blend-function'><b>blend(image1, image2, alpha)</b></a> [<a href='#PIL.ImageChops.blend-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Blend images using constant transparency weight.
|
||||
</p><p>
|
||||
Same as the <b>blend</b> function in the <b>Image</b> module.
|
||||
</p></dd>
|
||||
<dt><a id='PIL.ImageChops.composite-function' name='PIL.ImageChops.composite-function'><b>composite(image1, image2, mask)</b></a> [<a href='#PIL.ImageChops.composite-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Create composite using transparency mask.
|
||||
</p><p>
|
||||
Same as the <b>composite</b> function in the <b>Image</b> module.
|
||||
</p></dd>
|
||||
<dt><a id='PIL.ImageChops.constant-function' name='PIL.ImageChops.constant-function'><b>constant(image, value)</b></a> [<a href='#PIL.ImageChops.constant-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>value</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.darker-function' name='PIL.ImageChops.darker-function'><b>darker(image1, image2)</b></a> [<a href='#PIL.ImageChops.darker-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Compare images, and return darker pixel value
|
||||
(min(image1, image2)).
|
||||
</p><p>
|
||||
Compares the two images, pixel by pixel, and returns a new image
|
||||
containing the darker values.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.difference-function' name='PIL.ImageChops.difference-function'><b>difference(image1, image2)</b></a> [<a href='#PIL.ImageChops.difference-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Calculate absolute difference
|
||||
(abs(image1 - image2)).
|
||||
</p><p>
|
||||
Returns the absolute value of the difference between the two images.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.duplicate-function' name='PIL.ImageChops.duplicate-function'><b>duplicate(image)</b></a> [<a href='#PIL.ImageChops.duplicate-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.invert-function' name='PIL.ImageChops.invert-function'><b>invert(image)</b></a> [<a href='#PIL.ImageChops.invert-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.lighter-function' name='PIL.ImageChops.lighter-function'><b>lighter(image1, image2)</b></a> [<a href='#PIL.ImageChops.lighter-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Compare images, and return lighter pixel value
|
||||
(max(image1, image2)).
|
||||
</p><p>
|
||||
Compares the two images, pixel by pixel, and returns a new image
|
||||
containing the lighter values.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.logical_and-function' name='PIL.ImageChops.logical_and-function'><b>logical_and(image1, image2)</b></a> [<a href='#PIL.ImageChops.logical_and-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.logical_or-function' name='PIL.ImageChops.logical_or-function'><b>logical_or(image1, image2)</b></a> [<a href='#PIL.ImageChops.logical_or-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.logical_xor-function' name='PIL.ImageChops.logical_xor-function'><b>logical_xor(image1, image2)</b></a> [<a href='#PIL.ImageChops.logical_xor-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.multiply-function' name='PIL.ImageChops.multiply-function'><b>multiply(image1, image2)</b></a> [<a href='#PIL.ImageChops.multiply-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Superimpose positive images
|
||||
(image1 * image2 / MAX).
|
||||
</p><p>
|
||||
Superimposes two images on top of each other. If you multiply an
|
||||
image with a solid black image, the result is black. If you multiply
|
||||
with a solid white image, the image is unaffected.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.offset-function' name='PIL.ImageChops.offset-function'><b>offset(image, xoffset, yoffset=None)</b></a> [<a href='#PIL.ImageChops.offset-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Offset image data.
|
||||
</p><p>
|
||||
Returns a copy of the image where data has been offset by the given
|
||||
distances. Data wraps around the edges. If yoffset is omitted, it
|
||||
is assumed to be equal to xoffset.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>xoffset</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>yoffset</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.screen-function' name='PIL.ImageChops.screen-function'><b>screen(image1, image2)</b></a> [<a href='#PIL.ImageChops.screen-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Superimpose negative images
|
||||
(MAX - ((MAX - image1) * (MAX - image2) / MAX)).
|
||||
</p><p>
|
||||
Superimposes two inverted images on top of each other.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.subtract-function' name='PIL.ImageChops.subtract-function'><b>subtract(image1, image2, scale=1.0, offset=0)</b></a> [<a href='#PIL.ImageChops.subtract-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Subtract images
|
||||
((image1 - image2) / scale + offset).
|
||||
</p><p>
|
||||
Subtracts two images, dividing the result by scale and adding the
|
||||
offset. If omitted, scale defaults to 1.0, and offset to 0.0.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageChops.subtract_modulo-function' name='PIL.ImageChops.subtract_modulo-function'><b>subtract_modulo(image1, image2)</b></a> [<a href='#PIL.ImageChops.subtract_modulo-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Subtract images without clipping
|
||||
((image1 - image2) % MAX).
|
||||
</p><p>
|
||||
Subtracts two images, without clipping the result.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>image1</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,25 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageColor Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageColor Module</h1>
|
||||
<dl>
|
||||
<dt><a id='PIL.ImageColor.getrgb-function' name='PIL.ImageColor.getrgb-function'><b>getrgb(color)</b></a> [<a href='#PIL.ImageColor.getrgb-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>color</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>ValueError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,111 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageDraw Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageDraw Module</h1>
|
||||
<dl>
|
||||
<dt><a id='PIL.ImageDraw.Draw-function' name='PIL.ImageDraw.Draw-function'><b>Draw(im, mode=None)</b></a> [<a href='#PIL.ImageDraw.Draw-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>im</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.getdraw-function' name='PIL.ImageDraw.getdraw-function'><b>getdraw(im=None, hints=None)</b></a> [<a href='#PIL.ImageDraw.getdraw-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>im</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>hints</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><b>ImageDraw(im, mode=None)</b> (class) [<a href='#PIL.ImageDraw.ImageDraw-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>A simple 2D drawing interface for PIL images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageDraw.ImageDraw-class'><i>The ImageDraw Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageDraw.ImageDraw-class' name='PIL.ImageDraw.ImageDraw-class'>The ImageDraw Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ImageDraw(im, mode=None)</b> (class) [<a href='#PIL.ImageDraw.ImageDraw-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>A simple 2D drawing interface for PIL images.
|
||||
</p><p>
|
||||
Application code should use the <b>Draw</b> factory, instead of
|
||||
directly.
|
||||
</p></dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.__init__-method' name='PIL.ImageDraw.ImageDraw.__init__-method'><b>__init__(im, mode=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>im</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>mode</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.arc-method' name='PIL.ImageDraw.ImageDraw.arc-method'><b>arc(xy, start, end, fill=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.arc-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.bitmap-method' name='PIL.ImageDraw.ImageDraw.bitmap-method'><b>bitmap(xy, bitmap, fill=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.bitmap-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.chord-method' name='PIL.ImageDraw.ImageDraw.chord-method'><b>chord(xy, start, end, fill=None, outline=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.chord-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.ellipse-method' name='PIL.ImageDraw.ImageDraw.ellipse-method'><b>ellipse(xy, fill=None, outline=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.ellipse-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.getfont-method' name='PIL.ImageDraw.ImageDraw.getfont-method'><b>getfont()</b></a> [<a href='#PIL.ImageDraw.ImageDraw.getfont-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.line-method' name='PIL.ImageDraw.ImageDraw.line-method'><b>line(xy, fill=None, width=0)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.line-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.pieslice-method' name='PIL.ImageDraw.ImageDraw.pieslice-method'><b>pieslice(xy, start, end, fill=None, outline=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.pieslice-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.point-method' name='PIL.ImageDraw.ImageDraw.point-method'><b>point(xy, fill=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.point-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.polygon-method' name='PIL.ImageDraw.ImageDraw.polygon-method'><b>polygon(xy, fill=None, outline=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.polygon-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.rectangle-method' name='PIL.ImageDraw.ImageDraw.rectangle-method'><b>rectangle(xy, fill=None, outline=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.rectangle-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.setfill-method' name='PIL.ImageDraw.ImageDraw.setfill-method'><b>setfill(onoff)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.setfill-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.setfont-method' name='PIL.ImageDraw.ImageDraw.setfont-method'><b>setfont(font)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.setfont-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.setink-method' name='PIL.ImageDraw.ImageDraw.setink-method'><b>setink(ink)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.setink-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.shape-method' name='PIL.ImageDraw.ImageDraw.shape-method'><b>shape(shape, fill=None, outline=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.shape-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.text-method' name='PIL.ImageDraw.ImageDraw.text-method'><b>text(xy, text, fill=None, font=None, anchor=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.text-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageDraw.ImageDraw.textsize-method' name='PIL.ImageDraw.ImageDraw.textsize-method'><b>textsize(text, font=None)</b></a> [<a href='#PIL.ImageDraw.ImageDraw.textsize-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,77 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageEnhance Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageEnhance Module</h1>
|
||||
<dl>
|
||||
<dt><b>Brightness(image)</b> (class) [<a href='#PIL.ImageEnhance.Brightness-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Brightness enhancement object.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageEnhance.Brightness-class'><i>The Brightness Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>Color(image)</b> (class) [<a href='#PIL.ImageEnhance.Color-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Color enhancement object.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageEnhance.Color-class'><i>The Color Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>Contrast(image)</b> (class) [<a href='#PIL.ImageEnhance.Contrast-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Contrast enhancement object.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageEnhance.Contrast-class'><i>The Contrast Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>Sharpness(image)</b> (class) [<a href='#PIL.ImageEnhance.Sharpness-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Sharpness enhancement object.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageEnhance.Sharpness-class'><i>The Sharpness Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageEnhance.Brightness-class' name='PIL.ImageEnhance.Brightness-class'>The Brightness Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Brightness(image)</b> (class) [<a href='#PIL.ImageEnhance.Brightness-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Brightness enhancement object.
|
||||
</p><p>
|
||||
This class can be used to control the brighntess of an image. An
|
||||
enhancement factor of 0.0 gives a black image, factor 1.0 gives the
|
||||
original image.
|
||||
</p></dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageEnhance.Color-class' name='PIL.ImageEnhance.Color-class'>The Color Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Color(image)</b> (class) [<a href='#PIL.ImageEnhance.Color-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Color enhancement object.
|
||||
</p><p>
|
||||
This class can be used to adjust the colour balance of an image, in
|
||||
a manner similar to the controls on a colour TV set. An enhancement
|
||||
factor of 0.0 gives a black and white image, a factor of 1.0 gives
|
||||
the original image.
|
||||
</p></dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageEnhance.Contrast-class' name='PIL.ImageEnhance.Contrast-class'>The Contrast Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Contrast(image)</b> (class) [<a href='#PIL.ImageEnhance.Contrast-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Contrast enhancement object.
|
||||
</p><p>
|
||||
This class can be used to control the contrast of an image, similar
|
||||
to the contrast control on a TV set. An enhancement factor of 0.0
|
||||
gives an solid grey image, factor 1.0 gives the original image.
|
||||
</p></dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageEnhance.Sharpness-class' name='PIL.ImageEnhance.Sharpness-class'>The Sharpness Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Sharpness(image)</b> (class) [<a href='#PIL.ImageEnhance.Sharpness-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Sharpness enhancement object.
|
||||
</p><p>
|
||||
This class can be used to adjust the sharpness of an image. The
|
||||
enhancement factor 0.0 gives a blurred image, 1.0 gives the original
|
||||
image, and a factor of 2.0 gives a sharpened image.
|
||||
</p></dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,117 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageFile Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageFile Module</h1>
|
||||
<dl>
|
||||
<dt><b>_ParserFile(data)</b> (class) [<a href='#PIL.ImageFile._ParserFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>(Internal) Support class for the Parser file.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFile._ParserFile-class'><i>The _ParserFile Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFile._safe_read-function' name='PIL.ImageFile._safe_read-function'><b>_safe_read(fp, size)</b></a> [<a href='#PIL.ImageFile._safe_read-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>fp</i></dt>
|
||||
<dd>
|
||||
File handle. Must implement a <b>read</b> method.
|
||||
</dd>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
A string containing up to <i>size</i> bytes of data.
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFile._save-function' name='PIL.ImageFile._save-function'><b>_save(im, fp, tile)</b></a> [<a href='#PIL.ImageFile._save-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>im</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>fp</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>tile</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><b>ImageFile(fp=None, filename=None)</b> (class) [<a href='#PIL.ImageFile.ImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Base class for image file handlers.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFile.ImageFile-class'><i>The ImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>Parser</b> (class) [<a href='#PIL.ImageFile.Parser-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Incremental image parser.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFile.Parser-class'><i>The Parser Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>StubImageFile</b> (class) [<a href='#PIL.ImageFile.StubImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Base class for stub image loaders.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFile.StubImageFile-class'><i>The StubImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFile._ParserFile-class' name='PIL.ImageFile._ParserFile-class'>The _ParserFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>_ParserFile(data)</b> (class) [<a href='#PIL.ImageFile._ParserFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>(Internal) Support class for the <b>Parser</b> file.
|
||||
</p></dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFile.ImageFile-class' name='PIL.ImageFile.ImageFile-class'>The ImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ImageFile(fp=None, filename=None)</b> (class) [<a href='#PIL.ImageFile.ImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFile.Parser-class' name='PIL.ImageFile.Parser-class'>The Parser Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Parser</b> (class) [<a href='#PIL.ImageFile.Parser-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFile.Parser.close-method' name='PIL.ImageFile.Parser.close-method'><b>close()</b></a> [<a href='#PIL.ImageFile.Parser.close-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>IOError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFile.Parser.feed-method' name='PIL.ImageFile.Parser.feed-method'><b>feed(data)</b></a> [<a href='#PIL.ImageFile.Parser.feed-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>data</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>IOError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFile.Parser.reset-method' name='PIL.ImageFile.Parser.reset-method'><b>reset()</b></a> [<a href='#PIL.ImageFile.Parser.reset-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFile.StubImageFile-class' name='PIL.ImageFile.StubImageFile-class'>The StubImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>StubImageFile</b> (class) [<a href='#PIL.ImageFile.StubImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Base class for stub image loaders.
|
||||
</p><p>
|
||||
A stub loader is an image loader that can identify files of a
|
||||
certain format, but relies on external code to load the file.
|
||||
</p></dd>
|
||||
<dt><a id='PIL.ImageFile.StubImageFile._load-method' name='PIL.ImageFile.StubImageFile._load-method'><b>_load()</b></a> [<a href='#PIL.ImageFile.StubImageFile._load-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,43 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageFileIO Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageFileIO Module</h1>
|
||||
<dl>
|
||||
<dt><b>ImageFileIO(fp)</b> (class) [<a href='#PIL.ImageFileIO.ImageFileIO-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>The ImageFileIO module can be used to read an image from a
|
||||
socket, or any other stream device.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFileIO.ImageFileIO-class'><i>The ImageFileIO Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFileIO.ImageFileIO-class' name='PIL.ImageFileIO.ImageFileIO-class'>The ImageFileIO Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ImageFileIO(fp)</b> (class) [<a href='#PIL.ImageFileIO.ImageFileIO-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>The <b>ImageFileIO</b> module can be used to read an image from a
|
||||
socket, or any other stream device.
|
||||
</p><p>
|
||||
This module is deprecated. New code should use the <b>Parser</b>
|
||||
class in the <a href="imagefile">ImageFile</a> module instead.
|
||||
|
||||
</p></dd>
|
||||
<dt><a id='PIL.ImageFileIO.ImageFileIO.__init__-method' name='PIL.ImageFileIO.ImageFileIO.__init__-method'><b>__init__(fp)</b></a> [<a href='#PIL.ImageFileIO.ImageFileIO.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Adds buffering to a stream file object, in order to
|
||||
provide <b>seek</b> and <b>tell</b> methods required
|
||||
by the <b>Image.open</b> method. The stream object must
|
||||
implement <b>read</b> and <b>close</b> methods.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>fp</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,257 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageFilter Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageFilter Module</h1>
|
||||
<dl>
|
||||
<dt><b>BLUR</b> (class) [<a href='#PIL.ImageFilter.BLUR-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Blur filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.BLUR-class'><i>The BLUR Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>CONTOUR</b> (class) [<a href='#PIL.ImageFilter.CONTOUR-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Contour filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.CONTOUR-class'><i>The CONTOUR Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>DETAIL</b> (class) [<a href='#PIL.ImageFilter.DETAIL-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Detail filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.DETAIL-class'><i>The DETAIL Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>EDGE_ENHANCE</b> (class) [<a href='#PIL.ImageFilter.EDGE_ENHANCE-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Edge enhancement filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.EDGE_ENHANCE-class'><i>The EDGE_ENHANCE Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>EDGE_ENHANCE_MORE</b> (class) [<a href='#PIL.ImageFilter.EDGE_ENHANCE_MORE-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Stronger edge enhancement filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.EDGE_ENHANCE_MORE-class'><i>The EDGE_ENHANCE_MORE Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>EMBOSS</b> (class) [<a href='#PIL.ImageFilter.EMBOSS-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Embossing filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.EMBOSS-class'><i>The EMBOSS Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>FIND_EDGES</b> (class) [<a href='#PIL.ImageFilter.FIND_EDGES-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Edge-finding filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.FIND_EDGES-class'><i>The FIND_EDGES Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>Kernel(size, kernel, **options)</b> (class) [<a href='#PIL.ImageFilter.Kernel-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Convolution filter kernel.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.Kernel-class'><i>The Kernel Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>MaxFilter(size=3)</b> (class) [<a href='#PIL.ImageFilter.MaxFilter-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Max filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.MaxFilter-class'><i>The MaxFilter Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>MedianFilter(size=3)</b> (class) [<a href='#PIL.ImageFilter.MedianFilter-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Median filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.MedianFilter-class'><i>The MedianFilter Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>MinFilter(size=3)</b> (class) [<a href='#PIL.ImageFilter.MinFilter-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Min filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.MinFilter-class'><i>The MinFilter Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>ModeFilter(size=3)</b> (class) [<a href='#PIL.ImageFilter.ModeFilter-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Mode filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.ModeFilter-class'><i>The ModeFilter Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>RankFilter(size, rank)</b> (class) [<a href='#PIL.ImageFilter.RankFilter-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Rank filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.RankFilter-class'><i>The RankFilter Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>SHARPEN</b> (class) [<a href='#PIL.ImageFilter.SHARPEN-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Sharpening filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.SHARPEN-class'><i>The SHARPEN Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>SMOOTH</b> (class) [<a href='#PIL.ImageFilter.SMOOTH-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Smoothing filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.SMOOTH-class'><i>The SMOOTH Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>SMOOTH_MORE</b> (class) [<a href='#PIL.ImageFilter.SMOOTH_MORE-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Stronger smoothing filter.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFilter.SMOOTH_MORE-class'><i>The SMOOTH_MORE Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.BLUR-class' name='PIL.ImageFilter.BLUR-class'>The BLUR Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>BLUR</b> (class) [<a href='#PIL.ImageFilter.BLUR-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.CONTOUR-class' name='PIL.ImageFilter.CONTOUR-class'>The CONTOUR Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>CONTOUR</b> (class) [<a href='#PIL.ImageFilter.CONTOUR-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.DETAIL-class' name='PIL.ImageFilter.DETAIL-class'>The DETAIL Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>DETAIL</b> (class) [<a href='#PIL.ImageFilter.DETAIL-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.EDGE_ENHANCE-class' name='PIL.ImageFilter.EDGE_ENHANCE-class'>The EDGE_ENHANCE Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>EDGE_ENHANCE</b> (class) [<a href='#PIL.ImageFilter.EDGE_ENHANCE-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.EDGE_ENHANCE_MORE-class' name='PIL.ImageFilter.EDGE_ENHANCE_MORE-class'>The EDGE_ENHANCE_MORE Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>EDGE_ENHANCE_MORE</b> (class) [<a href='#PIL.ImageFilter.EDGE_ENHANCE_MORE-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.EMBOSS-class' name='PIL.ImageFilter.EMBOSS-class'>The EMBOSS Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>EMBOSS</b> (class) [<a href='#PIL.ImageFilter.EMBOSS-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.FIND_EDGES-class' name='PIL.ImageFilter.FIND_EDGES-class'>The FIND_EDGES Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>FIND_EDGES</b> (class) [<a href='#PIL.ImageFilter.FIND_EDGES-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.Kernel-class' name='PIL.ImageFilter.Kernel-class'>The Kernel Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Kernel(size, kernel, **options)</b> (class) [<a href='#PIL.ImageFilter.Kernel-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFilter.Kernel.__init__-method' name='PIL.ImageFilter.Kernel.__init__-method'><b>__init__(size, kernel, **options)</b></a> [<a href='#PIL.ImageFilter.Kernel.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Create a convolution kernel. The current version only
|
||||
supports 3x3 and 5x5 integer and floating point kernels.
|
||||
</p><p>
|
||||
In the current version, kernels can only be applied to
|
||||
"L" and "RGB" images.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>kernel</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>**options</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>scale=</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>offset=</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.MaxFilter-class' name='PIL.ImageFilter.MaxFilter-class'>The MaxFilter Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>MaxFilter(size=3)</b> (class) [<a href='#PIL.ImageFilter.MaxFilter-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFilter.MaxFilter.__init__-method' name='PIL.ImageFilter.MaxFilter.__init__-method'><b>__init__(size=3)</b></a> [<a href='#PIL.ImageFilter.MaxFilter.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.MedianFilter-class' name='PIL.ImageFilter.MedianFilter-class'>The MedianFilter Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>MedianFilter(size=3)</b> (class) [<a href='#PIL.ImageFilter.MedianFilter-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFilter.MedianFilter.__init__-method' name='PIL.ImageFilter.MedianFilter.__init__-method'><b>__init__(size=3)</b></a> [<a href='#PIL.ImageFilter.MedianFilter.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.MinFilter-class' name='PIL.ImageFilter.MinFilter-class'>The MinFilter Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>MinFilter(size=3)</b> (class) [<a href='#PIL.ImageFilter.MinFilter-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFilter.MinFilter.__init__-method' name='PIL.ImageFilter.MinFilter.__init__-method'><b>__init__(size=3)</b></a> [<a href='#PIL.ImageFilter.MinFilter.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.ModeFilter-class' name='PIL.ImageFilter.ModeFilter-class'>The ModeFilter Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ModeFilter(size=3)</b> (class) [<a href='#PIL.ImageFilter.ModeFilter-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFilter.ModeFilter.__init__-method' name='PIL.ImageFilter.ModeFilter.__init__-method'><b>__init__(size=3)</b></a> [<a href='#PIL.ImageFilter.ModeFilter.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.RankFilter-class' name='PIL.ImageFilter.RankFilter-class'>The RankFilter Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>RankFilter(size, rank)</b> (class) [<a href='#PIL.ImageFilter.RankFilter-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFilter.RankFilter.__init__-method' name='PIL.ImageFilter.RankFilter.__init__-method'><b>__init__(size, rank)</b></a> [<a href='#PIL.ImageFilter.RankFilter.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>rank</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.SHARPEN-class' name='PIL.ImageFilter.SHARPEN-class'>The SHARPEN Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>SHARPEN</b> (class) [<a href='#PIL.ImageFilter.SHARPEN-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.SMOOTH-class' name='PIL.ImageFilter.SMOOTH-class'>The SMOOTH Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>SMOOTH</b> (class) [<a href='#PIL.ImageFilter.SMOOTH-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFilter.SMOOTH_MORE-class' name='PIL.ImageFilter.SMOOTH_MORE-class'>The SMOOTH_MORE Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>SMOOTH_MORE</b> (class) [<a href='#PIL.ImageFilter.SMOOTH_MORE-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,141 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageFont Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageFont Module</h1>
|
||||
<dl>
|
||||
<dt><b>FreeTypeFont(file, size, index=0, encoding="")</b> (class) [<a href='#PIL.ImageFont.FreeTypeFont-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Wrapper for FreeType fonts.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFont.FreeTypeFont-class'><i>The FreeTypeFont Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>ImageFont</b> (class) [<a href='#PIL.ImageFont.ImageFont-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>The ImageFont module defines a class with the same name.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFont.ImageFont-class'><i>The ImageFont Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFont.load-function' name='PIL.ImageFont.load-function'><b>load(filename)</b></a> [<a href='#PIL.ImageFont.load-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>filename</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>IOError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFont.load_default-function' name='PIL.ImageFont.load_default-function'><b>load_default()</b></a> [<a href='#PIL.ImageFont.load_default-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFont.load_path-function' name='PIL.ImageFont.load_path-function'><b>load_path(filename)</b></a> [<a href='#PIL.ImageFont.load_path-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>filename</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>IOError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><b>TransposedFont(font, orientation=None)</b> (class) [<a href='#PIL.ImageFont.TransposedFont-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Wrapper that creates a transposed font from any existing font
|
||||
object.</p>
|
||||
<dl>
|
||||
<dt><i>font</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>orientation</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
<p>For more information about this class, see <a href='#PIL.ImageFont.TransposedFont-class'><i>The TransposedFont Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageFont.truetype-function' name='PIL.ImageFont.truetype-function'><b>truetype(filename, size, index=0, encoding="")</b></a> [<a href='#PIL.ImageFont.truetype-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Load a TrueType or OpenType font file, and create a font object.
|
||||
This function loads a font object from the given file, and creates
|
||||
a font object for a font of the given size.
|
||||
</p><p>
|
||||
This function requires the _imagingft service.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>filename</i></dt>
|
||||
<dd>
|
||||
A truetype font file. Under Windows, if the file
|
||||
is not found in this filename, the loader also looks in Windows
|
||||
<b>fonts</b> directory
|
||||
</dd>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>index</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>encoding</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Raises <b>IOError</b>:</dt><dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFont.FreeTypeFont-class' name='PIL.ImageFont.FreeTypeFont-class'>The FreeTypeFont Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>FreeTypeFont(file, size, index=0, encoding="")</b> (class) [<a href='#PIL.ImageFont.FreeTypeFont-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Wrapper for FreeType fonts. Application code should use the
|
||||
<b>truetype</b> factory function to create font objects.
|
||||
</p></dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFont.ImageFont-class' name='PIL.ImageFont.ImageFont-class'>The ImageFont Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ImageFont</b> (class) [<a href='#PIL.ImageFont.ImageFont-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>The <b>ImageFont</b> module defines a class with the same name.
|
||||
Instances of this class store bitmap fonts, and are used with the
|
||||
<b>text</b> method of the <b>ImageDraw</b> class.
|
||||
</p><p>
|
||||
PIL uses it's own font file format to store bitmap fonts. You can
|
||||
use the <b>pilfont</b> utility to convert BDF and PCF font
|
||||
descriptors (X window font formats) to this format.
|
||||
</p><p>
|
||||
Starting with version 1.1.4, PIL can be configured to support
|
||||
TrueType and OpenType fonts. For earlier version, TrueType
|
||||
support is only available as part of the imToolkit package
|
||||
|
||||
</p></dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageFont.TransposedFont-class' name='PIL.ImageFont.TransposedFont-class'>The TransposedFont Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>TransposedFont(font, orientation=None)</b> (class) [<a href='#PIL.ImageFont.TransposedFont-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>font</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>orientation</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,24 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageGL Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageGL Module</h1>
|
||||
<h2>Module Contents</h2>
|
||||
<dl>
|
||||
<dt><b>TextureFactory</b> (class) [<a href='#PIL.ImageGL.TextureFactory-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Texture factory.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageGL.TextureFactory-class'><i>The TextureFactory Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageGL.TextureFactory-class' name='PIL.ImageGL.TextureFactory-class'>The TextureFactory Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>TextureFactory</b> (class) [<a href='#PIL.ImageGL.TextureFactory-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,37 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageGrab Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageGrab Module</h1>
|
||||
<p>(New in 1.1.3) The <b>ImageGrab</b> module can be used to copy
|
||||
the contents of the screen to a PIL image memory.
|
||||
</p><p>
|
||||
The current version works on Windows only.</p>
|
||||
|
||||
<h2>Module Contents</h2>
|
||||
<dl>
|
||||
<dt><a id='PIL.ImageGrab.grab-function' name='PIL.ImageGrab.grab-function'><b>grab(bbox=None)</b></a> [<a href='#PIL.ImageGrab.grab-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>bbox</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageGrab.grabclipboard-function' name='PIL.ImageGrab.grabclipboard-function'><b>grabclipboard()</b></a> [<a href='#PIL.ImageGrab.grabclipboard-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,221 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageOps Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageOps Module</h1>
|
||||
<p>(New in 1.1.3) The <b>ImageOps</b> module contains a number of
|
||||
'ready-made' image processing operations. This module is somewhat
|
||||
experimental, and most operators only work on L and RGB images.
|
||||
|
||||
</p><h2>Module Contents</h2>
|
||||
<dl>
|
||||
<dt><a id='PIL.ImageOps.autocontrast-function' name='PIL.ImageOps.autocontrast-function'><b>autocontrast(image, cutoff=0, ignore=None)</b></a> [<a href='#PIL.ImageOps.autocontrast-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Maximize (normalize) image contrast. This function calculates a
|
||||
histogram of the input image, removes <i>cutoff</i> percent of the
|
||||
lightest and darkest pixels from the histogram, and remaps the image
|
||||
so that the darkest pixel becomes black (0), and the lightest
|
||||
becomes white (255).
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>cutoff</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>ignore</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.colorize-function' name='PIL.ImageOps.colorize-function'><b>colorize(image, black, white)</b></a> [<a href='#PIL.ImageOps.colorize-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Colorize grayscale image. The <i>black</i> and <i>white</i>
|
||||
arguments should be RGB tuples; this function calculates a colour
|
||||
wedge mapping all black pixels in the source image to the first
|
||||
colour, and all white pixels to the second colour.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>black</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>white</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.crop-function' name='PIL.ImageOps.crop-function'><b>crop(image, border=0)</b></a> [<a href='#PIL.ImageOps.crop-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>border</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.deform-function' name='PIL.ImageOps.deform-function'><b>deform(image, deformer, resample=Image.BILINEAR)</b></a> [<a href='#PIL.ImageOps.deform-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>deformer</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>resample</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.equalize-function' name='PIL.ImageOps.equalize-function'><b>equalize(image, mask=None)</b></a> [<a href='#PIL.ImageOps.equalize-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>mask</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.expand-function' name='PIL.ImageOps.expand-function'><b>expand(image, border=0, fill=0)</b></a> [<a href='#PIL.ImageOps.expand-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>border</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>fill</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.fit-function' name='PIL.ImageOps.fit-function'><b>fit(image, size, method=Image.NEAREST, bleed=0.0, centering=(0.5, 0.5))</b></a> [<a href='#PIL.ImageOps.fit-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Returns a sized and cropped version of the image, cropped to the
|
||||
requested aspect ratio and size.
|
||||
</p><p>
|
||||
The <b>fit</b> function was contributed by Kevin Cazabon.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>method</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>bleed</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>centering</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.flip-function' name='PIL.ImageOps.flip-function'><b>flip(image)</b></a> [<a href='#PIL.ImageOps.flip-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.grayscale-function' name='PIL.ImageOps.grayscale-function'><b>grayscale(image)</b></a> [<a href='#PIL.ImageOps.grayscale-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.invert-function' name='PIL.ImageOps.invert-function'><b>invert(image)</b></a> [<a href='#PIL.ImageOps.invert-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.mirror-function' name='PIL.ImageOps.mirror-function'><b>mirror(image)</b></a> [<a href='#PIL.ImageOps.mirror-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.posterize-function' name='PIL.ImageOps.posterize-function'><b>posterize(image, bits)</b></a> [<a href='#PIL.ImageOps.posterize-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>bits</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageOps.solarize-function' name='PIL.ImageOps.solarize-function'><b>solarize(image, threshold=128)</b></a> [<a href='#PIL.ImageOps.solarize-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>threshold</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImagePalette Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImagePalette Module</h1>
|
||||
<dl>
|
||||
<dt><b>ImagePalette(mode="RGB", palette=None)</b> (class) [<a href='#PIL.ImagePalette.ImagePalette-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Colour palette wrapper for palette mapped images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImagePalette.ImagePalette-class'><i>The ImagePalette Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImagePalette.ImagePalette-class' name='PIL.ImagePalette.ImagePalette-class'>The ImagePalette Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ImagePalette(mode="RGB", palette=None)</b> (class) [<a href='#PIL.ImagePalette.ImagePalette-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,54 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImagePath Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImagePath Module</h1>
|
||||
<dl>
|
||||
<dt><b>Path(xy)</b> (class) [<a href='#PIL.ImagePath.Path-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Path wrapper.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImagePath.Path-class'><i>The Path Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImagePath.Path-class' name='PIL.ImagePath.Path-class'>The Path Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Path(xy)</b> (class) [<a href='#PIL.ImagePath.Path-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImagePath.Path.__init__-method' name='PIL.ImagePath.Path.__init__-method'><b>__init__(xy)</b></a> [<a href='#PIL.ImagePath.Path.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>xy</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImagePath.Path.compact-method' name='PIL.ImagePath.Path.compact-method'><b>compact(distance=2)</b></a> [<a href='#PIL.ImagePath.Path.compact-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImagePath.Path.getbbox-method' name='PIL.ImagePath.Path.getbbox-method'><b>getbbox()</b></a> [<a href='#PIL.ImagePath.Path.getbbox-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImagePath.Path.map-method' name='PIL.ImagePath.Path.map-method'><b>map(function)</b></a> [<a href='#PIL.ImagePath.Path.map-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImagePath.Path.tolist-method' name='PIL.ImagePath.Path.tolist-method'><b>tolist(flat=0)</b></a> [<a href='#PIL.ImagePath.Path.tolist-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>flat</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImagePath.Path.transform-method' name='PIL.ImagePath.Path.transform-method'><b>transform(matrix)</b></a> [<a href='#PIL.ImagePath.Path.transform-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,32 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageSequence Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageSequence Module</h1>
|
||||
<dl>
|
||||
<dt><b>Iterator(im)</b> (class) [<a href='#PIL.ImageSequence.Iterator-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>This class implements an iterator object that can be used to loop
|
||||
over an image sequence.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageSequence.Iterator-class'><i>The Iterator Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageSequence.Iterator-class' name='PIL.ImageSequence.Iterator-class'>The Iterator Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Iterator(im)</b> (class) [<a href='#PIL.ImageSequence.Iterator-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageSequence.Iterator.__init__-method' name='PIL.ImageSequence.Iterator.__init__-method'><b>__init__(im)</b></a> [<a href='#PIL.ImageSequence.Iterator.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>im</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,37 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageStat Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageStat Module</h1>
|
||||
<p>The <b>ImageStat</b> module calculates global statistics for an
|
||||
image, or a region of an image.
|
||||
</p><h2>Module Contents</h2>
|
||||
<dl>
|
||||
<dt><b>Stat(image, mask=None)</b> (class) [<a href='#PIL.ImageStat.Stat-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Calculate statistics for the given image.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageStat.Stat-class'><i>The Stat Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageStat.Stat-class' name='PIL.ImageStat.Stat-class'>The Stat Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Stat(image, mask=None)</b> (class) [<a href='#PIL.ImageStat.Stat-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageStat.Stat.__init__-method' name='PIL.ImageStat.Stat.__init__-method'><b>__init__(image, mask=None)</b></a> [<a href='#PIL.ImageStat.Stat.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>mask</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,141 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageTk Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageTk Module</h1>
|
||||
<p>The <b>ImageTk</b> module contains support to create and modify
|
||||
Tkinter <b>BitmapImage</b> and <b>PhotoImage</b> objects.
|
||||
</p><p>
|
||||
For examples, see the demo programs in the <i>Scripts</i>
|
||||
directory.
|
||||
</p><h2>Module Contents</h2>
|
||||
<dl>
|
||||
<dt><b>BitmapImage(image=None, **options)</b> (class) [<a href='#PIL.ImageTk.BitmapImage-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Create a Tkinter-compatible bitmap image.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageTk.BitmapImage-class'><i>The BitmapImage Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageTk.getimage-function' name='PIL.ImageTk.getimage-function'><b>getimage(photo)</b></a> [<a href='#PIL.ImageTk.getimage-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><b>PhotoImage(image=None, size=None, **options)</b> (class) [<a href='#PIL.ImageTk.PhotoImage-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Creates a Tkinter-compatible photo image.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageTk.PhotoImage-class'><i>The PhotoImage Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageTk.BitmapImage-class' name='PIL.ImageTk.BitmapImage-class'>The BitmapImage Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>BitmapImage(image=None, **options)</b> (class) [<a href='#PIL.ImageTk.BitmapImage-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageTk.BitmapImage.__init__-method' name='PIL.ImageTk.BitmapImage.__init__-method'><b>__init__(image=None, **options)</b></a> [<a href='#PIL.ImageTk.BitmapImage.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Create a Tkinter-compatible bitmap image.
|
||||
</p><p>
|
||||
The given image must have mode "1". Pixels having value 0 are
|
||||
treated as transparent. Options, if any, are passed on to
|
||||
Tkinter. The most commonly used option is <b>foreground</b>,
|
||||
which is used to specify the colour for the non-transparent
|
||||
parts. See the Tkinter documentation for information on how to
|
||||
specify colours.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageTk.BitmapImage.__str__-method' name='PIL.ImageTk.BitmapImage.__str__-method'><b>__str__()</b></a> [<a href='#PIL.ImageTk.BitmapImage.__str__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageTk.BitmapImage.height-method' name='PIL.ImageTk.BitmapImage.height-method'><b>height()</b></a> [<a href='#PIL.ImageTk.BitmapImage.height-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageTk.BitmapImage.width-method' name='PIL.ImageTk.BitmapImage.width-method'><b>width()</b></a> [<a href='#PIL.ImageTk.BitmapImage.width-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageTk.PhotoImage-class' name='PIL.ImageTk.PhotoImage-class'>The PhotoImage Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>PhotoImage(image=None, size=None, **options)</b> (class) [<a href='#PIL.ImageTk.PhotoImage-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageTk.PhotoImage.__init__-method' name='PIL.ImageTk.PhotoImage.__init__-method'><b>__init__(image=None, size=None, **options)</b></a> [<a href='#PIL.ImageTk.PhotoImage.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Create a photo image object. The constructor takes either
|
||||
a PIL image, or a mode and a size. Alternatively, you can
|
||||
use the <b>file</b> or <b>data</b> options to initialize
|
||||
the photo image object.
|
||||
</p><p>
|
||||
</p><dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>file=</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>data=</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageTk.PhotoImage.__str__-method' name='PIL.ImageTk.PhotoImage.__str__-method'><b>__str__()</b></a> [<a href='#PIL.ImageTk.PhotoImage.__str__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageTk.PhotoImage.height-method' name='PIL.ImageTk.PhotoImage.height-method'><b>height()</b></a> [<a href='#PIL.ImageTk.PhotoImage.height-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageTk.PhotoImage.paste-method' name='PIL.ImageTk.PhotoImage.paste-method'><b>paste(im, box=None)</b></a> [<a href='#PIL.ImageTk.PhotoImage.paste-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>im</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>box</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageTk.PhotoImage.width-method' name='PIL.ImageTk.PhotoImage.width-method'><b>width()</b></a> [<a href='#PIL.ImageTk.PhotoImage.width-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,140 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageTransform Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageTransform Module</h1>
|
||||
<dl>
|
||||
<dt><b>AffineTransform</b> (class) [<a href='#PIL.ImageTransform.AffineTransform-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Define an affine image transform.</p>
|
||||
<dl>
|
||||
<dt><i>matrix</i></dt>
|
||||
<dd>
|
||||
A 6-tuple (<i>a, b, c, d, e, f</i>) containing
|
||||
the first two rows from an affine transform matrix.
|
||||
</dd>
|
||||
</dl><br />
|
||||
<p>For more information about this class, see <a href='#PIL.ImageTransform.AffineTransform-class'><i>The AffineTransform Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>ExtentTransform</b> (class) [<a href='#PIL.ImageTransform.ExtentTransform-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Define a transform to extract a subregion from an image.</p>
|
||||
<dl>
|
||||
<dt><i>bbox</i></dt>
|
||||
<dd>
|
||||
A 4-tuple (<i>x0, y0, x1, y1</i>) which specifies
|
||||
two points in the input image's coordinate system.
|
||||
</dd>
|
||||
</dl><br />
|
||||
<p>For more information about this class, see <a href='#PIL.ImageTransform.ExtentTransform-class'><i>The ExtentTransform Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>MeshTransform</b> (class) [<a href='#PIL.ImageTransform.MeshTransform-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Define an mesh image transform.</p>
|
||||
<dl>
|
||||
<dt><i>data</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
<p>For more information about this class, see <a href='#PIL.ImageTransform.MeshTransform-class'><i>The MeshTransform Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>QuadTransform</b> (class) [<a href='#PIL.ImageTransform.QuadTransform-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Define an quad image transform.</p>
|
||||
<dl>
|
||||
<dt><i>xy</i></dt>
|
||||
<dd>
|
||||
An 8-tuple (<i>x0, y0, x1, y1, x2, y2, y3, y3</i>) which
|
||||
contain the upper left, lower left, lower right, and upper right
|
||||
corner of the source quadrilateral.
|
||||
</dd>
|
||||
</dl><br />
|
||||
<p>For more information about this class, see <a href='#PIL.ImageTransform.QuadTransform-class'><i>The QuadTransform Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageTransform.AffineTransform-class' name='PIL.ImageTransform.AffineTransform-class'>The AffineTransform Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>AffineTransform</b> (class) [<a href='#PIL.ImageTransform.AffineTransform-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Define an affine image transform.
|
||||
</p><p>
|
||||
This function takes a 6-tuple (<i>a, b, c, d, e, f</i>) which
|
||||
contain the first two rows from an affine transform matrix. For
|
||||
each pixel (<i>x, y</i>) in the output image, the new value is
|
||||
taken from a position (a <i>x</i> + b <i>y</i> + c,
|
||||
d <i>x</i> + e <i>y</i> + f) in the input image, rounded to
|
||||
nearest pixel.
|
||||
</p><p>
|
||||
This function can be used to scale, translate, rotate, and shear the
|
||||
original image.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>matrix</i></dt>
|
||||
<dd>
|
||||
A 6-tuple (<i>a, b, c, d, e, f</i>) containing
|
||||
the first two rows from an affine transform matrix.
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageTransform.ExtentTransform-class' name='PIL.ImageTransform.ExtentTransform-class'>The ExtentTransform Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ExtentTransform</b> (class) [<a href='#PIL.ImageTransform.ExtentTransform-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Define a transform to extract a subregion from an image.
|
||||
</p><p>
|
||||
Maps a rectangle (defined by two corners) from the image to a
|
||||
rectangle of the given size. The resulting image will contain
|
||||
data sampled from between the corners, such that (<i>x0, y0</i>)
|
||||
in the input image will end up at (0,0) in the output image,
|
||||
and (<i>x1, y1</i>) at <i>size</i>.
|
||||
</p><p>
|
||||
This method can be used to crop, stretch, shrink, or mirror an
|
||||
arbitrary rectangle in the current image. It is slightly slower than
|
||||
<b>crop</b>, but about as fast as a corresponding <b>resize</b>
|
||||
operation.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>bbox</i></dt>
|
||||
<dd>
|
||||
A 4-tuple (<i>x0, y0, x1, y1</i>) which specifies
|
||||
two points in the input image's coordinate system.
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageTransform.MeshTransform-class' name='PIL.ImageTransform.MeshTransform-class'>The MeshTransform Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>MeshTransform</b> (class) [<a href='#PIL.ImageTransform.MeshTransform-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>data</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageTransform.QuadTransform-class' name='PIL.ImageTransform.QuadTransform-class'>The QuadTransform Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>QuadTransform</b> (class) [<a href='#PIL.ImageTransform.QuadTransform-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Define an quad image transform.
|
||||
</p><p>
|
||||
Maps a quadrilateral (a region defined by four corners) from the
|
||||
image to a rectangle of the given size.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>xy</i></dt>
|
||||
<dd>
|
||||
An 8-tuple (<i>x0, y0, x1, y1, x2, y2, y3, y3</i>) which
|
||||
contain the upper left, lower left, lower right, and upper right
|
||||
corner of the source quadrilateral.
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,141 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImageWin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImageWin Module</h1>
|
||||
<dl>
|
||||
<dt><b>Dib(image, size=None)</b> (class) [<a href='#PIL.ImageWin.Dib-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Create a Windows bitmap with the given mode and size.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageWin.Dib-class'><i>The Dib Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>HDC(dc)</b> (class) [<a href='#PIL.ImageWin.HDC-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>The ImageWin module contains support to create and display
|
||||
images under Windows 95/98, NT, 2000 and later.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageWin.HDC-class'><i>The HDC Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>ImageWindow(image, title="PIL")</b> (class) [<a href='#PIL.ImageWin.ImageWindow-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Create an image window which displays the given image.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageWin.ImageWindow-class'><i>The ImageWindow Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>Window(title="PIL", width=None, height=None)</b> (class) [<a href='#PIL.ImageWin.Window-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Create a Window with the given title size.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImageWin.Window-class'><i>The Window Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageWin.Dib-class' name='PIL.ImageWin.Dib-class'>The Dib Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Dib(image, size=None)</b> (class) [<a href='#PIL.ImageWin.Dib-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Create a Windows bitmap with the given mode and size. The mode can
|
||||
be one of "1", "L", "P", or "RGB".
|
||||
|
||||
If the display requires a palette, this constructor creates a
|
||||
suitable palette and associates it with the image. For an "L" image,
|
||||
128 greylevels are allocated. For an "RGB" image, a 6x6x6 colour
|
||||
cube is used, together with 20 greylevels.
|
||||
|
||||
To make sure that palettes work properly under Windows, you must
|
||||
call the <b>palette</b> method upon certain events from Windows.
|
||||
</p></dd>
|
||||
<dt><a id='PIL.ImageWin.Dib.__init__-method' name='PIL.ImageWin.Dib.__init__-method'><b>__init__(image, size=None)</b></a> [<a href='#PIL.ImageWin.Dib.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>image</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>size</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageWin.Dib.expose-method' name='PIL.ImageWin.Dib.expose-method'><b>expose(handle)</b></a> [<a href='#PIL.ImageWin.Dib.expose-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>handle</i></dt>
|
||||
<dd>
|
||||
Device context (HDC), cast to a Python integer,
|
||||
or a HDC or HWND instance. In PythonWin, you can use the
|
||||
<b>GetHandleAttrib</b> method of the <b>CDC</b> class to get
|
||||
a suitable handle.
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageWin.Dib.fromstring-method' name='PIL.ImageWin.Dib.fromstring-method'><b>fromstring(buffer)</b></a> [<a href='#PIL.ImageWin.Dib.fromstring-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>buffer</i></dt>
|
||||
<dd>
|
||||
A string buffer containing display data (usually
|
||||
data returned from <b>tostring</b>)
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageWin.Dib.paste-method' name='PIL.ImageWin.Dib.paste-method'><b>paste(im, box=None)</b></a> [<a href='#PIL.ImageWin.Dib.paste-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>im</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>box</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageWin.Dib.query_palette-method' name='PIL.ImageWin.Dib.query_palette-method'><b>query_palette(handle)</b></a> [<a href='#PIL.ImageWin.Dib.query_palette-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Installs the palette associated with the image in the
|
||||
given device context.
|
||||
</p><p>
|
||||
This method should be called upon <b>QUERYNEWPALETTE</b>
|
||||
and <b>PALETTECHANGED</b> events from Windows. If this
|
||||
method returns a non-zero value, one or more display
|
||||
palette entries were changed, and the image should be
|
||||
redrawn.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>handle</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><a id='PIL.ImageWin.Dib.tostring-method' name='PIL.ImageWin.Dib.tostring-method'><b>tostring()</b></a> [<a href='#PIL.ImageWin.Dib.tostring-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageWin.HDC-class' name='PIL.ImageWin.HDC-class'>The HDC Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>HDC(dc)</b> (class) [<a href='#PIL.ImageWin.HDC-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>The <b>ImageWin</b> module contains support to create and display
|
||||
images under Windows 95/98, NT, 2000 and later.
|
||||
</p></dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageWin.ImageWindow-class' name='PIL.ImageWin.ImageWindow-class'>The ImageWindow Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ImageWindow(image, title="PIL")</b> (class) [<a href='#PIL.ImageWin.ImageWindow-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImageWin.Window-class' name='PIL.ImageWin.Window-class'>The Window Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>Window(title="PIL", width=None, height=None)</b> (class) [<a href='#PIL.ImageWin.Window-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.ImtImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.ImtImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>ImtImageFile</b> (class) [<a href='#PIL.ImtImagePlugin.ImtImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for IM Tools images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.ImtImagePlugin.ImtImageFile-class'><i>The ImtImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.ImtImagePlugin.ImtImageFile-class' name='PIL.ImtImagePlugin.ImtImageFile-class'>The ImtImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ImtImageFile</b> (class) [<a href='#PIL.ImtImagePlugin.ImtImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,36 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.IptcImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.IptcImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><a id='PIL.IptcImagePlugin.getiptcinfo-function' name='PIL.IptcImagePlugin.getiptcinfo-function'><b>getiptcinfo(im)</b></a> [<a href='#PIL.IptcImagePlugin.getiptcinfo-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>im</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><b>IptcImageFile</b> (class) [<a href='#PIL.IptcImagePlugin.IptcImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for IPTC/NAA datastreams.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.IptcImagePlugin.IptcImageFile-class'><i>The IptcImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.IptcImagePlugin.IptcImageFile-class' name='PIL.IptcImagePlugin.IptcImageFile-class'>The IptcImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>IptcImageFile</b> (class) [<a href='#PIL.IptcImagePlugin.IptcImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for IPTC/NAA datastreams. To read IPTC/NAA fields
|
||||
from TIFF and JPEG files, use the <b>getiptcinfo</b> function.
|
||||
</p></dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.JpegImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.JpegImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>JpegImageFile</b> (class) [<a href='#PIL.JpegImagePlugin.JpegImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for JPEG and JFIF images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.JpegImagePlugin.JpegImageFile-class'><i>The JpegImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.JpegImagePlugin.JpegImageFile-class' name='PIL.JpegImagePlugin.JpegImageFile-class'>The JpegImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>JpegImageFile</b> (class) [<a href='#PIL.JpegImagePlugin.JpegImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.McIdasImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.McIdasImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>McIdasImageFile</b> (class) [<a href='#PIL.McIdasImagePlugin.McIdasImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for McIdas area images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.McIdasImagePlugin.McIdasImageFile-class'><i>The McIdasImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.McIdasImagePlugin.McIdasImageFile-class' name='PIL.McIdasImagePlugin.McIdasImageFile-class'>The McIdasImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>McIdasImageFile</b> (class) [<a href='#PIL.McIdasImagePlugin.McIdasImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.MicImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.MicImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>MicImageFile</b> (class) [<a href='#PIL.MicImagePlugin.MicImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for Microsoft's Image Composer file format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.MicImagePlugin.MicImageFile-class'><i>The MicImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.MicImagePlugin.MicImageFile-class' name='PIL.MicImagePlugin.MicImageFile-class'>The MicImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>MicImageFile</b> (class) [<a href='#PIL.MicImagePlugin.MicImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.MpegImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.MpegImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>MpegImageFile</b> (class) [<a href='#PIL.MpegImagePlugin.MpegImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for MPEG streams.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.MpegImagePlugin.MpegImageFile-class'><i>The MpegImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.MpegImagePlugin.MpegImageFile-class' name='PIL.MpegImagePlugin.MpegImageFile-class'>The MpegImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>MpegImageFile</b> (class) [<a href='#PIL.MpegImagePlugin.MpegImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.MspImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.MspImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>MspImageFile</b> (class) [<a href='#PIL.MspImagePlugin.MspImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for Windows MSP images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.MspImagePlugin.MspImageFile-class'><i>The MspImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.MspImagePlugin.MspImageFile-class' name='PIL.MspImagePlugin.MspImageFile-class'>The MspImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>MspImageFile</b> (class) [<a href='#PIL.MspImagePlugin.MspImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,39 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.OleFileIO Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.OleFileIO Module</h1>
|
||||
<dl>
|
||||
<dt><b>OleFileIO(filename=None)</b> (class) [<a href='#PIL.OleFileIO.OleFileIO-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>This class encapsulates the interface to an OLE 2 structured
|
||||
storage file.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.OleFileIO.OleFileIO-class'><i>The OleFileIO Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.OleFileIO.OleFileIO-class' name='PIL.OleFileIO.OleFileIO-class'>The OleFileIO Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>OleFileIO(filename=None)</b> (class) [<a href='#PIL.OleFileIO.OleFileIO-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>This class encapsulates the interface to an OLE 2 structured
|
||||
storage file. Use the <a class="link" href="link:listdir"><b>listdir</b></a> and <a class="link" href="link:openstream"><b>openstream</b></a>
|
||||
methods to access the contents of this file.
|
||||
</p></dd>
|
||||
<dt><a id='PIL.OleFileIO.OleFileIO.getproperties-method' name='PIL.OleFileIO.OleFileIO.getproperties-method'><b>getproperties(filename)</b></a> [<a href='#PIL.OleFileIO.OleFileIO.getproperties-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.OleFileIO.OleFileIO.listdir-method' name='PIL.OleFileIO.OleFileIO.listdir-method'><b>listdir()</b></a> [<a href='#PIL.OleFileIO.OleFileIO.listdir-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.OleFileIO.OleFileIO.open-method' name='PIL.OleFileIO.OleFileIO.open-method'><b>open(filename)</b></a> [<a href='#PIL.OleFileIO.OleFileIO.open-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.OleFileIO.OleFileIO.openstream-method' name='PIL.OleFileIO.OleFileIO.openstream-method'><b>openstream(filename)</b></a> [<a href='#PIL.OleFileIO.OleFileIO.openstream-method'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.PSDraw Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.PSDraw Module</h1>
|
||||
<dl>
|
||||
<dt><b>PSDraw(fp=None)</b> (class) [<a href='#PIL.PSDraw.PSDraw-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Simple Postscript graphics interface.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.PSDraw.PSDraw-class'><i>The PSDraw Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.PSDraw.PSDraw-class' name='PIL.PSDraw.PSDraw-class'>The PSDraw Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>PSDraw(fp=None)</b> (class) [<a href='#PIL.PSDraw.PSDraw-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.PaletteFile Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.PaletteFile Module</h1>
|
||||
<dl>
|
||||
<dt><b>PaletteFile(fp)</b> (class) [<a href='#PIL.PaletteFile.PaletteFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>File handler for Teragon-style palette files.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.PaletteFile.PaletteFile-class'><i>The PaletteFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.PaletteFile.PaletteFile-class' name='PIL.PaletteFile.PaletteFile-class'>The PaletteFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>PaletteFile(fp)</b> (class) [<a href='#PIL.PaletteFile.PaletteFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,16 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.PalmImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.PalmImagePlugin Module</h1>
|
||||
<h2>Module Contents</h2>
|
||||
<dl>
|
||||
<dt><a id='PIL.PalmImagePlugin._save-function' name='PIL.PalmImagePlugin._save-function'><b>_save(im, fp, filename, check=0)</b></a> [<a href='#PIL.PalmImagePlugin._save-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.PcdImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.PcdImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>PcdImageFile</b> (class) [<a href='#PIL.PcdImagePlugin.PcdImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for PhotoCD images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.PcdImagePlugin.PcdImageFile-class'><i>The PcdImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.PcdImagePlugin.PcdImageFile-class' name='PIL.PcdImagePlugin.PcdImageFile-class'>The PcdImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>PcdImageFile</b> (class) [<a href='#PIL.PcdImagePlugin.PcdImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.PcfFontFile Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.PcfFontFile Module</h1>
|
||||
<dl>
|
||||
<dt><b>PcfFontFile(fp)</b> (class) [<a href='#PIL.PcfFontFile.PcfFontFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Font file plugin for the X11 PCF format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.PcfFontFile.PcfFontFile-class'><i>The PcfFontFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.PcfFontFile.PcfFontFile-class' name='PIL.PcfFontFile.PcfFontFile-class'>The PcfFontFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>PcfFontFile(fp)</b> (class) [<a href='#PIL.PcfFontFile.PcfFontFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.PcxImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.PcxImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>PcxImageFile</b> (class) [<a href='#PIL.PcxImagePlugin.PcxImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for Paintbrush images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.PcxImagePlugin.PcxImageFile-class'><i>The PcxImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.PcxImagePlugin.PcxImageFile-class' name='PIL.PcxImagePlugin.PcxImageFile-class'>The PcxImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>PcxImageFile</b> (class) [<a href='#PIL.PcxImagePlugin.PcxImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,16 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.PdfImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.PdfImagePlugin Module</h1>
|
||||
<h2>Module Contents</h2>
|
||||
<dl>
|
||||
<dt><a id='PIL.PdfImagePlugin._save-function' name='PIL.PdfImagePlugin._save-function'><b>_save(im, fp, filename)</b></a> [<a href='#PIL.PdfImagePlugin._save-function'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.PixarImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.PixarImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>PixarImageFile</b> (class) [<a href='#PIL.PixarImagePlugin.PixarImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for PIXAR raster images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.PixarImagePlugin.PixarImageFile-class'><i>The PixarImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.PixarImagePlugin.PixarImageFile-class' name='PIL.PixarImagePlugin.PixarImageFile-class'>The PixarImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>PixarImageFile</b> (class) [<a href='#PIL.PixarImagePlugin.PixarImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.PngImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.PngImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>PngImageFile</b> (class) [<a href='#PIL.PngImagePlugin.PngImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for PNG images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.PngImagePlugin.PngImageFile-class'><i>The PngImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.PngImagePlugin.PngImageFile-class' name='PIL.PngImagePlugin.PngImageFile-class'>The PngImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>PngImageFile</b> (class) [<a href='#PIL.PngImagePlugin.PngImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.PpmImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.PpmImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>PpmImageFile</b> (class) [<a href='#PIL.PpmImagePlugin.PpmImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for PBM, PGM, and PPM images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.PpmImagePlugin.PpmImageFile-class'><i>The PpmImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.PpmImagePlugin.PpmImageFile-class' name='PIL.PpmImagePlugin.PpmImageFile-class'>The PpmImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>PpmImageFile</b> (class) [<a href='#PIL.PpmImagePlugin.PpmImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.PsdImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.PsdImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>PsdImageFile</b> (class) [<a href='#PIL.PsdImagePlugin.PsdImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for Photoshop images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.PsdImagePlugin.PsdImageFile-class'><i>The PsdImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.PsdImagePlugin.PsdImageFile-class' name='PIL.PsdImagePlugin.PsdImageFile-class'>The PsdImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>PsdImageFile</b> (class) [<a href='#PIL.PsdImagePlugin.PsdImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.SgiImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.SgiImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>SgiImageFile</b> (class) [<a href='#PIL.SgiImagePlugin.SgiImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for SGI images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.SgiImagePlugin.SgiImageFile-class'><i>The SgiImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.SgiImagePlugin.SgiImageFile-class' name='PIL.SgiImagePlugin.SgiImageFile-class'>The SgiImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>SgiImageFile</b> (class) [<a href='#PIL.SgiImagePlugin.SgiImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,28 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.SpiderImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.SpiderImagePlugin Module</h1>
|
||||
<p>Image plugin for the Spider image format. This format is is used
|
||||
by the SPIDER software, in processing image data from electron
|
||||
microscopy and tomography.</p>
|
||||
<h2>Module Contents</h2>
|
||||
<dl>
|
||||
<dt><b>SpiderImageFile</b> (class) [<a href='#PIL.SpiderImagePlugin.SpiderImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the SPIDER format.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.SpiderImagePlugin.SpiderImageFile-class'><i>The SpiderImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.SpiderImagePlugin.SpiderImageFile-class' name='PIL.SpiderImagePlugin.SpiderImageFile-class'>The SpiderImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>SpiderImageFile</b> (class) [<a href='#PIL.SpiderImagePlugin.SpiderImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for the SPIDER format.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.SunImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.SunImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>SunImageFile</b> (class) [<a href='#PIL.SunImagePlugin.SunImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for Sun raster files.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.SunImagePlugin.SunImageFile-class'><i>The SunImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.SunImagePlugin.SunImageFile-class' name='PIL.SunImagePlugin.SunImageFile-class'>The SunImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>SunImageFile</b> (class) [<a href='#PIL.SunImagePlugin.SunImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,35 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.TarIO Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.TarIO Module</h1>
|
||||
<dl>
|
||||
<dt><b>TarIO(tarfile, file)</b> (class) [<a href='#PIL.TarIO.TarIO-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>A file object that provides read access to a given member of a TAR
|
||||
file.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.TarIO.TarIO-class'><i>The TarIO Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.TarIO.TarIO-class' name='PIL.TarIO.TarIO-class'>The TarIO Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>TarIO(tarfile, file)</b> (class) [<a href='#PIL.TarIO.TarIO-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.TarIO.TarIO.__init__-method' name='PIL.TarIO.TarIO.__init__-method'><b>__init__(tarfile, file)</b></a> [<a href='#PIL.TarIO.TarIO.__init__-method'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>tarfile</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><i>file</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.TgaImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.TgaImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>TgaImageFile</b> (class) [<a href='#PIL.TgaImagePlugin.TgaImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for Targa files.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.TgaImagePlugin.TgaImageFile-class'><i>The TgaImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.TgaImagePlugin.TgaImageFile-class' name='PIL.TgaImagePlugin.TgaImageFile-class'>The TgaImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>TgaImageFile</b> (class) [<a href='#PIL.TgaImagePlugin.TgaImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,34 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.TiffImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.TiffImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>ImageFileDirectory(prefix="II")</b> (class) [<a href='#PIL.TiffImagePlugin.ImageFileDirectory-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Wrapper for TIFF IFDs.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.TiffImagePlugin.ImageFileDirectory-class'><i>The ImageFileDirectory Class</i></a>.</p>
|
||||
</dd>
|
||||
<dt><b>TiffImageFile</b> (class) [<a href='#PIL.TiffImagePlugin.TiffImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for TIFF files.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.TiffImagePlugin.TiffImageFile-class'><i>The TiffImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.TiffImagePlugin.ImageFileDirectory-class' name='PIL.TiffImagePlugin.ImageFileDirectory-class'>The ImageFileDirectory Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>ImageFileDirectory(prefix="II")</b> (class) [<a href='#PIL.TiffImagePlugin.ImageFileDirectory-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.TiffImagePlugin.TiffImageFile-class' name='PIL.TiffImagePlugin.TiffImageFile-class'>The TiffImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>TiffImageFile</b> (class) [<a href='#PIL.TiffImagePlugin.TiffImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,19 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.TiffTags Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.TiffTags Module</h1>
|
||||
<h2>Module Contents</h2>
|
||||
<dl>
|
||||
<dt><a id='PIL.TiffTags.TAGS-variable' name='PIL.TiffTags.TAGS-variable'><b>TAGS</b></a> (variable) [<a href='#PIL.TiffTags.TAGS-variable'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt><a id='PIL.TiffTags.TYPES-variable' name='PIL.TiffTags.TYPES-variable'><b>TYPES</b></a> (variable) [<a href='#PIL.TiffTags.TYPES-variable'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,28 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.WalImageFile Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.WalImageFile Module</h1>
|
||||
<dl>
|
||||
<dt><a id='PIL.WalImageFile.open-function' name='PIL.WalImageFile.open-function'><b>open(filename)</b></a> [<a href='#PIL.WalImageFile.open-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Load texture from a Quake2 WAL texture file.
|
||||
</p><p>
|
||||
By default, a Quake2 standard palette is attached to the texture.
|
||||
To override the palette, use the <b>putpalette</b> method.
|
||||
|
||||
</p><dl>
|
||||
<dt><i>filename</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,31 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.WmfImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.WmfImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><a id='PIL.WmfImagePlugin.register_handler-function' name='PIL.WmfImagePlugin.register_handler-function'><b>register_handler(handler)</b></a> [<a href='#PIL.WmfImagePlugin.register_handler-function'>#</a>]</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><i>handler</i></dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl><br />
|
||||
</dd>
|
||||
<dt><b>WmfStubImageFile</b> (class) [<a href='#PIL.WmfImagePlugin.WmfStubImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for Windows metafiles.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.WmfImagePlugin.WmfStubImageFile-class'><i>The WmfStubImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.WmfImagePlugin.WmfStubImageFile-class' name='PIL.WmfImagePlugin.WmfStubImageFile-class'>The WmfStubImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>WmfStubImageFile</b> (class) [<a href='#PIL.WmfImagePlugin.WmfStubImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.XVThumbImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.XVThumbImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>XVThumbImageFile</b> (class) [<a href='#PIL.XVThumbImagePlugin.XVThumbImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for XV thumbnail images.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.XVThumbImagePlugin.XVThumbImageFile-class'><i>The XVThumbImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.XVThumbImagePlugin.XVThumbImageFile-class' name='PIL.XVThumbImagePlugin.XVThumbImageFile-class'>The XVThumbImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>XVThumbImageFile</b> (class) [<a href='#PIL.XVThumbImagePlugin.XVThumbImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.XbmImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.XbmImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>XbmImageFile</b> (class) [<a href='#PIL.XbmImagePlugin.XbmImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for X11 bitmaps.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.XbmImagePlugin.XbmImageFile-class'><i>The XbmImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.XbmImagePlugin.XbmImageFile-class' name='PIL.XbmImagePlugin.XbmImageFile-class'>The XbmImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>XbmImageFile</b> (class) [<a href='#PIL.XbmImagePlugin.XbmImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
|
||||
<title>The PIL.XpmImagePlugin Module</title>
|
||||
<link rel='stylesheet' href='effbot.css' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The PIL.XpmImagePlugin Module</h1>
|
||||
<dl>
|
||||
<dt><b>XpmImageFile</b> (class) [<a href='#PIL.XpmImagePlugin.XpmImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
<p>Image plugin for X11 pixel maps.</p>
|
||||
<p>For more information about this class, see <a href='#PIL.XpmImagePlugin.XpmImageFile-class'><i>The XpmImageFile Class</i></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2><a id='PIL.XpmImagePlugin.XpmImageFile-class' name='PIL.XpmImagePlugin.XpmImageFile-class'>The XpmImageFile Class</a></h2>
|
||||
<dl>
|
||||
<dt><b>XpmImageFile</b> (class) [<a href='#PIL.XpmImagePlugin.XpmImageFile-class'>#</a>]</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
</body></html>
|
Loading…
Reference in New Issue
Block a user