imgcrush.imagesettings.PNGSettings Class Reference

List of all members.

Public Member Functions

def __init__
def get_val_str
def str_data

Public Attributes

 Advpng
 BitDepth
 Filter
 Interlace
 Level
 Mode


Detailed Description

Stores settings of a PNG file to generate

Definition at line 49 of file imagesettings.py.


Member Function Documentation

def imgcrush.imagesettings.PNGSettings.__init__ (   self,
  level,
  filt,
  mode,
  bitdepth,
  interlace,
  advpng = False 
)

Constructor.

Level     : Compression level of this image -higher means lower size.
Filter    : PNG filter used for this image.
Mode      : Color mode of this image. e.g. truecolor, palette, etc.
BitDepth  : Bit depth of every channel of this image.
Interlace : Should this image be interlaced (progressive) ?
Advpng    : Is this an image recompressed by advpng? (only one truecolor
    and one paletted advpng per bitdepth is generated 
    for each input file.

Definition at line 52 of file imagesettings.py.

def imgcrush.imagesettings.PNGSettings.get_val_str (   self,
  str 
)

Returns data member requested by the input string.

Definition at line 78 of file imagesettings.py.

def imgcrush.imagesettings.PNGSettings.str_data (   self  ) 

Returns a string containing png settings data.

Definition at line 71 of file imagesettings.py.


The documentation for this class was generated from the following file:

Generated on Sun Oct 18 14:02:29 2009 for IMGCrush by  doxygen 1.5.8