/usr/share/doc/python-imaging-doc/pythondoc-PIL.ImageFileIO.html is in python-imaging-doc 1.1.7-4ubuntu0.12.04.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | <!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>
|