Public Member Functions | |
def | __init__ |
Public Attributes | |
Colors | |
Height | |
InputName | |
InputSize | |
Name | |
Size | |
Width |
Stores data about reference and input files used to generate output.
Definition at line 7 of file referencefile.py.
def imgcrush.referencefile.ReferenceFile.__init__ | ( | self, | ||
infname, | ||||
fname, | ||||
w, | ||||
h, | ||||
stretch | ||||
) |
Constructor. Creates the reference file. Data members: Name : Filename of the reference file. InputSize : Size of the input file. Size : Size of the reference file. Width : Width of the reference file in px. Height : Height of the reference file in px. Colors : Count of unique colors in the file.
Definition at line 10 of file referencefile.py.