/usr/share/doc/python-imaging/html/pildriver.htm is in python-imaging-doc-html 1.1.2-1.1ubuntu1.
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 | <html><head><title>The pildriver Utility</title><link rel="stylesheet" type="text/css" href="effbot.css" /></head><body><div id="PILDRIVER-COMMAND" class="chapter"><h1 style="chapter">The pildriver Utility</h1><p>The <tt>pildriver</tt> tool, written by Eric S. Raymond,
gives access to most PIL functions from your operating system's
command-line interface.</p><pre> $ pildriver "program"</pre><p>An instance of the <tt>PILDriver</tt> class is
essentially a software stack machine (Polish-notation interpreter) for
sequencing PIL image transformations. The state of the instance is
the interpreter stack.</p><p>The only method one will normally invoke after initialization is
the `execute' method. This takes an argument list of tokens, pushes
them onto the instance's stack, and then tries to clear the stack by
successive evaluation of PILdriver operators. Any part of the stack
not cleaned off persists and is part of the evaluation context for the
next call of the execute method.</p><p>PILDriver doesn't catch any exceptions, on the theory that these
are actually diagnostic information that should be interpreted by the
calling code.</p><p>When called as a script, the command-line arguments are passed
to a PILDriver instance. If there are no command-line arguments, the
module runs an interactive interpreter, each line of which is split
into space-separated tokens and passed to the execute method.</p></div></body></html>
|