Public Member Functions | |
def | __init__ |
Public Attributes | |
DoAdvpng | |
FCount | |
OptMaxFilesDec | |
OptUseGray | |
OptUsePal |
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.
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?