Skip to content

Write One Color Png File

Class full path: WriteOneColorPng.WriteOneColorPngFile

Create a one color png and write it to a file

Functions

__init__(height, width, color)

initialize

beginchunk(name, length)

begin chunk

endchunk()

end chunk

resetcrc()

reset the crc

write(file)

write to the file

write_byte_crc(c_value)

write a byte crc

writelong(l_value)

write a long value

writelongcrc(l_value)

write a long crc value

writewordcrc(s_value, reverse)

write word crc value