imgcrush.png.PNGProcData Class Reference

List of all members.

Public Member Functions

def __init__

Public Attributes

 DoAdvpng
 FCount
 OptMaxFilesDec
 OptUseGray
 OptUsePal


Detailed Description

Data specific to a process using PNGProcessor.

Contains things like optimization specific data that
has to be stored separately for each process.

Definition at line 18 of file png.py.


Member Function Documentation

def imgcrush.png.PNGProcData.__init__ (   self  ) 

Constructor.

Data members:

FCount         : Number of generated files already processed by a call
         to process_png() in this process. Used for % 
         feedback.
OptUsePal      : Each entry of this dictionary specifies whether or not
         to generate indexed files with this bitdepth.
         None means that this has not been determined yet.
         This is reset for each call to process_png()
OptUseGray     : Same as OptUsePal but with grayscale files.
OptMaxFilesDec : Number of files that were not generated due to
         optimizations so far. This is used to decrease
         value returned by get_max_files() to provide
         precise % feedback.
DoAdvpng       : Do we need to generate advpng (special case) images?

Definition at line 24 of file png.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