diff options
author | Fred Drake <fdrake@acm.org> | 1998-04-03 07:09:38 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-04-03 07:09:38 (GMT) |
commit | 7932a6bf8cf6f997e0dfc9a66dcfe6422cd193dc (patch) | |
tree | 3a5332049a6b75f4ee084ef98822861314d8815b /Doc/lib | |
parent | d59db4f9747caaeedb90bd0000e69a5aa6bedb98 (diff) | |
download | cpython-7932a6bf8cf6f997e0dfc9a66dcfe6422cd193dc.zip cpython-7932a6bf8cf6f997e0dfc9a66dcfe6422cd193dc.tar.gz cpython-7932a6bf8cf6f997e0dfc9a66dcfe6422cd193dc.tar.bz2 |
Small markup nits.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libimgfile.tex | 9 | ||||
-rw-r--r-- | Doc/lib/librgbimg.tex | 5 |
2 files changed, 6 insertions, 8 deletions
diff --git a/Doc/lib/libimgfile.tex b/Doc/lib/libimgfile.tex index 8ec31e3..f876935 100644 --- a/Doc/lib/libimgfile.tex +++ b/Doc/lib/libimgfile.tex @@ -1,15 +1,14 @@ -\section{Built-in Module \sectcode{imgfile}} +\section{Built-in Module \module{imgfile}} \label{module-imgfile} \bimodindex{imgfile} -The imgfile module allows python programs to access SGI imglib image +The \module{imgfile} module allows Python programs to access SGI imglib image files (also known as \file{.rgb} files). The module is far from complete, but is provided anyway since the functionality that there is is enough in some cases. Currently, colormap files are not supported. The module defines the following variables and functions: -\setindexsubitem{(in module imgfile)} \begin{excdesc}{error} This exception is raised on all errors, such as unsupported file type, etc. \end{excdesc} @@ -24,9 +23,9 @@ are currently supported. \begin{funcdesc}{read}{file} This function reads and decodes the image on the specified file, and -returns it as a python string. The string has either 1 byte greyscale +returns it as a Python string. The string has either 1 byte greyscale pixels or 4 byte RGBA pixels. The bottom left pixel is the first in -the string. This format is suitable to pass to \code{gl.lrectwrite}, +the string. This format is suitable to pass to \function{gl.lrectwrite()}, for instance. \end{funcdesc} diff --git a/Doc/lib/librgbimg.tex b/Doc/lib/librgbimg.tex index cb11554..873a75f 100644 --- a/Doc/lib/librgbimg.tex +++ b/Doc/lib/librgbimg.tex @@ -1,15 +1,14 @@ -\section{Built-in Module \sectcode{rgbimg}} +\section{Built-in Module \module{rgbimg}} \label{module-rgbimg} \bimodindex{rgbimg} -The rgbimg module allows python programs to access SGI imglib image +The \module{rgbimg} module allows Python programs to access SGI imglib image files (also known as \file{.rgb} files). The module is far from complete, but is provided anyway since the functionality that there is is enough in some cases. Currently, colormap files are not supported. The module defines the following variables and functions: -\setindexsubitem{(in module rgbimg)} \begin{excdesc}{error} This exception is raised on all errors, such as unsupported file type, etc. \end{excdesc} |