rest25/library/jpeg.rst => rest262/library/jpeg.rst
f1
2:mod:`jpeg` --- Read and write JPEG files
3=========================================
4
5.. module:: jpeg
6   :platform: IRIX
7   :synopsis: Read and write image files in compressed JPEG format.
n8+   :deprecated:
9+ 
10+.. deprecated:: 2.6
11+   The :mod:`jpeg` module has been deprecated for removal in Python 3.0.
12+ 
8
9
10.. index:: single: Independent JPEG Group
11
12The module :mod:`jpeg` provides access to the jpeg compressor and decompressor
13written by the Independent JPEG Group (IJG). JPEG is a standard for compressing
14pictures; it is defined in ISO 10918.  For details on JPEG or the Independent
15JPEG Group software refer to the JPEG standard or the documentation provided
17
18.. index::
19   single: Python Imaging Library
20   single: PIL (the Python Imaging Library)
21   single: Lundh, Fredrik
22
23A portable interface to JPEG image files is available with the Python Imaging
24Library (PIL) by Fredrik Lundh.  Information on PIL is available at
n25-`<http://www.pythonware.com/products/pil/>`_.
n30+http://www.pythonware.com/products/pil/.
26
27The :mod:`jpeg` module defines an exception and some functions.
28
29
30.. exception:: error
31
32   Exception raised by :func:`compress` and :func:`decompress` in case of errors.
33
73   |                 | image.  This only affects compression.      |
74   +-----------------+---------------------------------------------+
75   | ``'smooth'``    | Perform inter-block smoothing on            |
76   |                 | uncompressed image.  Only useful for low-   |
77   |                 | quality images.  This only affects          |
78   |                 | decompression.                              |
79   +-----------------+---------------------------------------------+
80
n81-   .. % 
82-   .. % 
83-   .. % 
84-   .. % 
85- 
86
87.. seealso::
88
89   JPEG Still Image Data Compression Standard
t90-      The  canonical reference for the JPEG image format, by Pennebaker and Mitchell.
t90+      The canonical reference for the JPEG image format, by Pennebaker and Mitchell.
91
92   `Information Technology - Digital Compression and Coding of Continuous-tone Still Images - Requirements and Guidelines <http://www.w3.org/Graphics/JPEG/itu-t81.pdf>`_
93      The ISO standard for JPEG is also published as ITU T.81.  This is available
94      online in PDF form.
95
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op