mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 05:36:48 +03:00
44 lines
1.6 KiB
HTML
44 lines
1.6 KiB
HTML
|
<!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>
|