Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/ImagePaletteH.html
Дата изменения: Fri Apr 8 12:46:13 2016
Дата индексирования: Mon Apr 11 02:45:23 2016
Кодировка:
Python: module ImagePaletteH
 
 
ImagePaletteH
index
ImagePaletteH.py

# The Python Imaging Library.
# $Id: ImagePalette.py,v 1.1 1998/05/14 21:34:58 friedric Exp friedric $
#
# image palette object
#
# History:
#       96-03-11 fl     Rewritten.
#       97-01-03 fl     Up and running.
#       97-08-23 fl     Added load hack
#
# Copyright (c) Secret Labs AB 1997.
# Copyright (c) Fredrik Lundh 1996-97.
#
# See the README file for information on usage and redistribution.
#

 
Modules
       
ImageH
array

 
Classes
       
ImagePalette
raw

 
class ImagePalette
    Colour palette for palette mapped images
 
  Methods defined here:
__init__(self, mode='RGB', palette=None)
save(self, fp)
tostring(self)

 
class raw
     Methods defined here:
__init__(self, rawmode, data)

 
Functions
       
load(filename)
negative(mode='RGB')
new(mode, data)
random(mode='RGB')
wedge(mode='RGB')

 
Data
        jpython = 0