diff options
author | Fred Drake <fdrake@acm.org> | 1998-04-04 07:15:02 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-04-04 07:15:02 (GMT) |
commit | fc57619811688c2ca885d285c651e0da59b88cc4 (patch) | |
tree | 5bfe87ac9bca13742b8a4a8a4bbd6766b3c8a6d1 /Doc/lib/libjpeg.tex | |
parent | 71c1e502f0fba1dd40c4cc93b2143189d82a7672 (diff) | |
download | cpython-fc57619811688c2ca885d285c651e0da59b88cc4.zip cpython-fc57619811688c2ca885d285c651e0da59b88cc4.tar.gz cpython-fc57619811688c2ca885d285c651e0da59b88cc4.tar.bz2 |
Remove obsolete \setindexsubitem macros.
Massive migration to methoddesc and memberdesc.
Logical markup as needed.
A sprinkling of index entries for flavor.
Diffstat (limited to 'Doc/lib/libjpeg.tex')
-rw-r--r-- | Doc/lib/libjpeg.tex | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Doc/lib/libjpeg.tex b/Doc/lib/libjpeg.tex index 745fe32..201a142 100644 --- a/Doc/lib/libjpeg.tex +++ b/Doc/lib/libjpeg.tex @@ -1,10 +1,12 @@ -\section{Built-in Module \sectcode{jpeg}} +\section{Built-in Module \module{jpeg}} \label{module-jpeg} \bimodindex{jpeg} The module \module{jpeg} provides access to the jpeg compressor and -decompressor written by the Independent JPEG Group. JPEG is a (draft?) -standard for compressing pictures. For details on jpeg or the +decompressor written by the Independent JPEG Group% +\index{Independent JPEG Group}% +. JPEG is a (draft?) +standard for compressing pictures. For details on JPEG or the Independent JPEG Group software refer to the JPEG standard or the documentation provided with the software. @@ -18,19 +20,19 @@ in case of errors. \begin{funcdesc}{compress}{data, w, h, b} Treat data as a pixmap of width \var{w} and height \var{h}, with \var{b} bytes per pixel. The data is in SGI GL order, so the first -pixel is in the lower-left corner. This means that \code{gl.lrectread} +pixel is in the lower-left corner. This means that \function{gl.lrectread()} return data can immediately be passed to \function{compress()}. Currently only 1 byte and 4 byte pixels are allowed, the former being treated as greyscale and the latter as RGB color. \function{compress()} returns a string that contains the compressed -picture, in JFIF format. +picture, in JFIF\index{JFIF} format. \end{funcdesc} \begin{funcdesc}{decompress}{data} -Data is a string containing a picture in JFIF format. It returns a -tuple \code{(\var{data}, \var{width}, \var{height}, +Data is a string containing a picture in JFIF\index{JFIF} format. It +returns a tuple \code{(\var{data}, \var{width}, \var{height}, \var{bytesperpixel})}. Again, the data is suitable to pass to -\code{gl.lrectwrite}. +\function{gl.lrectwrite()}. \end{funcdesc} \begin{funcdesc}{setoption}{name, value} |