This file is indexed.

/usr/share/doc/python-imaging/html/imagetk.htm is in python-imaging-doc-html 1.1.2-1.1.

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 ImageTk Module</title><link rel="stylesheet" type="text/css" href="effbot.css" /></head><body><div id="IMAGETK-MODULE" class="chapter"><h1 style="chapter">The ImageTk Module</h1><p>This module contains support to create and modify Tkinter <tt>BitmapImage</tt> and <tt>PhotoImage</tt> objects.</p><p>For examples, see the demo programs in the <i>Scripts</i> directory.</p><div class="sect1"><h2 style="sect1">The BitmapImage Class</h2><div class="sect2"><h3 style="sect2">BitmapImage (constructor)</h3><p><tt>BitmapImage(image, options)</tt>. Create a Tkinter-compatible bitmap image, which can be used everywhere Tkinter expects an image object.</p><p>The given image must have mode <span>&quot;1&quot;</span>. Pixels having value 0 are treated as transparent. Options, if any, are passed to Tkinter. The most commonly used option is <tt>foreground</tt>, which is used to specify the colour for the non-transparent parts. See the Tkinter documentation for information on how to specify colours.</p></div></div><div class="sect1"><h2 style="sect1">The PhotoImage Class</h2><div class="sect2"><h3 style="sect2">PhotoImage (constructor)</h3><p><tt>PhotoImage(image)</tt>. Creates a Tkinter-compatible photo image, which can be used everywhere Tkinter expects an image object. If the image is an RGBA image, pixels having alpha 0 are treated as transparent.</p><p><tt>PhotoImage(mode, size)</tt>. Creates an empty (transparent) photo image object. Use <tt>paste</tt> to copy image data to this object.</p></div><div class="sect2"><h3 style="sect2">paste</h3><p><tt>paste(image, box)</tt>. Pastes an image into the photo image. The box is a 4-tuple defining the left, upper, right, and lower pixel coordinate. If the box is omitted, or <tt>None</tt>, 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 photo image mode, conversions are automatically applied.</p></div></div></div></body></html>