Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/spst/UnixTransition/doc/JpegImagePluginH.html
Дата изменения: Fri Apr 8 12:46:13 2016 Дата индексирования: Mon Apr 11 04:25:20 2016 Кодировка: |
JpegImagePluginH (version 0.3) | index JpegImagePluginH.py |
# The Python Imaging Library.
# $Id: JpegImagePluginH.py,v 1.2 1998/05/28 20:14:52 friedric Exp $
#
# JPEG (JFIF) file handling
#
# See "Digital Compression and Coding of Continous-Tone Still Images,
# Part 1, Requirements and Guidelines" (CCITT T.81 / ISO 10918-1)
#
# History:
# 95-09-09 fl Created
# 95-09-13 fl Added full parser
# 96-03-25 fl Added hack to use the IJG command line utilities
# 96-05-05 fl Workaround Photoshop 2.5 CMYK polarity bug
# 0.1 96-05-28 fl Added draft support, JFIF version
# 0.2 96-12-30 fl Added encoder options, added progression property
# 0.3 97-08-27 fl Save mode 1 images as BW
#
# Copyright (c) Secret Labs AB 1997.
# Copyright (c) Fredrik Lundh 1995-96.
#
# See the README file for information on usage and redistribution.
#
Modules | ||||||
|
Classes | ||||||||
|
Functions | ||
|
Data | ||
MARKER = {65472: ('SOF0', 'Baseline DCT', <function SOF>), 65473: ('SOF1', 'Extended Sequential DCT', <function SOF>), 65474: ('SOF2', 'Progressive DCT', <function SOF>), 65475: ('SOF3', 'Spatial lossless', <function SOF>), 65476: ('DHT', 'Define Huffman table', <function Skip>), 65477: ('SOF5', 'Differential sequential DCT', <function SOF>), 65478: ('SOF6', 'Differential progressive DCT', <function SOF>), 65479: ('SOF7', 'Differential spatial', <function SOF>), 65480: ('JPG', 'Extension', None), 65481: ('SOF9', 'Extended sequential DCT (AC)', <function SOF>), ...} RAWMODE = {'1': 'L', 'CMYK': 'CMYK', 'L': 'L', 'RGB': 'RGB', 'RGBA': 'RGB'} __version__ = '0.3' |