This file is indexed.

/usr/share/doc/python-imaging/html/imagewin.htm is in python-imaging-doc-html 1.1.2-1.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
<html><head><title>The ImageWin Module</title><link rel="stylesheet" type="text/css" href="effbot.css" /></head><body><div id="IMAGEWIN-MODULE" class="chapter"><h1 style="chapter">The ImageWin Module</h1><p>This module contains support to create and display images under Windows 95/98, NT, and 2000.</p><div class="sect1"><h2 style="sect1">The Dib Class</h2><div class="sect2"><h3 style="sect2">Dib (constructor)</h3><p><tt>Dib(mode, size)</tt>. This constructor creates a Windows bitmap with the given mode and size. Mode can be one of &quot;1&quot;, &quot;L&quot;, or &quot;RGB&quot;.</p><p>If the display requires a palette, this constructor creates a suitable palette and associates it with the image.  For an &quot;L&quot; image, 128 greylevels are allocated.  For an &quot;RGB&quot; image, a 6x6x6 colour cube is used, together with 20 greylevels.</p><p>To make sure that palettes work properly under Windows, you must call the <tt>palette</tt> method upon certain events from Windows.  See the method descriptions below.</p></div></div><div class="sect1"><h2 style="sect1">Methods</h2><div class="sect2"><h3 style="sect2">expose</h3><p><tt>expose(hdc)</tt>. Expose (draw) the image using the given device context handle. The handle is an integer representing a Windows <tt>HDC</tt> handle.</p><p>In PythonWin, you can use the <tt>GetHandleAttrib</tt> method of the <tt>CDC</tt> class to get a suitable handle.</p></div><div class="sect2"><h3 style="sect2">palette</h3><p><tt>palette(hdc)</tt>. Installs the palette associated with the image in the given device context.  The handle is an integer representing a Windows <tt>HDC</tt> handle.</p><p>This method should be called upon <tt>QUERYNEWPALETTE</tt> and <tt>PALETTECHANGED</tt> 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></div><div class="sect2"><h3 style="sect2">paste</h3><p><tt>paste(image, box)</tt>. Pastes an image into the bitmap image. The box is a 4-tuple defining the left, upper, right, and lower pixel coordinate.  If <tt>None</tt> is given instead of a tuple, all of the image is assumed.  In any case, the size of the pasted image must match the size of the region.  If the image mode does not match the bitmap mode, conversions are automatically applied.</p></div></div></div></body></html>