ImImagePlugin (version 0.7) | index /Library/Python/2.7/site-packages/PIL/ImImagePlugin.py |
# The Python Imaging Library.
# $Id$
#
# IFUNC IM file handling for PIL
#
# history:
# 1995-09-01 fl Created.
# 1997-01-03 fl Save palette images
# 1997-01-08 fl Added sequence support
# 1997-01-23 fl Added P and RGB save support
# 1997-05-31 fl Read floating point images
# 1997-06-22 fl Save floating point images
# 1997-08-27 fl Read and save 1-bit images
# 1998-06-25 fl Added support for RGB+LUT images
# 1998-07-02 fl Added support for YCC images
# 1998-07-15 fl Renamed offset attribute to avoid name clash
# 1998-12-29 fl Added I;16 support
# 2001-02-17 fl Use 're' instead of 'regex' (Python 2.1) (0.7)
# 2003-09-26 fl Added LA/PA support
#
# Copyright (c) 1997-2003 by Secret Labs AB.
# Copyright (c) 1995-2001 by Fredrik Lundh.
#
# See the README file for information on usage and redistribution.
#
Modules | ||||||
|
Classes | ||||||||
|
Functions | ||
|
Data | ||
COMMENT = 'Comment' DATE = 'Date' EQUIPMENT = 'Digitalization equipment' FRAMES = 'File size (no of images)' LUT = 'Lut' MODE = 'Image type' NAME = 'Name' OPEN = {'0 1 image': ('1', '1'), 'B1 image': ('1', '1'), 'B2 image': ('P', 'P;2'), 'B4 image': ('P', 'P;4'), 'CMYK image': ('CMYK', 'CMYK;L'), 'Grayscale image': ('L', 'L'), 'Greyscale image': ('L', 'L'), 'L 1 image': ('1', '1'), 'L 16 image': ('I;16', 'I;16'), 'L 16B image': ('I;16B', 'I;16B'), ...} SAVE = {'1': ('0 1', '1'), 'CMYK': ('CMYK', 'CMYK;L'), 'F': ('L 32F', 'F;32F'), 'I': ('L 32S', 'I;32S'), 'I;16': ('L 16', 'I;16'), 'I;16B': ('L 16B', 'I;16B'), 'I;16L': ('L 16L', 'I;16L'), 'L': ('Greyscale', 'L'), 'LA': ('LA', 'LA;L'), 'P': ('Greyscale', 'P'), ...} SCALE = 'Scale (x,y)' SIZE = 'Image size (x*y)' TAGS = {'Comment': 0, 'Date': 0, 'Digitalization equipment': 0, 'File size (no of images)': 0, 'Image size (x*y)': 0, 'Image type': 0, 'Lut': 0, 'Name': 0, 'Scale (x,y)': 0} __version__ = '0.7' i = 32 split = <_sre.SRE_Pattern object> |