Skip to content

WriteOneColorPng

Create a one color png and write it to a file

WriteOneColorPngFile

Canonical path: Utils.WriteOneColorPng.WriteOneColorPngFile

Create a one color png and write it to a file

__init__

__init__(height, width, color)

initialize

beginchunk

beginchunk(name, length)

begin chunk

endchunk

endchunk()

end chunk

resetcrc

resetcrc()

reset the crc

write

write(file)

write to the file

write_byte_crc

write_byte_crc(c_value)

write a byte crc

writelong

writelong(l_value)

write a long value

writelongcrc

writelongcrc(l_value)

write a long crc value

writewordcrc

writewordcrc(s_value, reverse)

write word crc value