c34b6f757f
This involves: * Adding a new "L8" colorspace for colorconverters * factoring out displayio_colorconverter_convert_pixel * Making a minimal "colorspace only" version of displayio for the unix port (testing purposes) * fixing an error message I only tested writing B&W animated images, with the following script: ```python import displayio import gifio with gifio.GifWriter("foo.gif", 64, 64, displayio.Colorspace.L8) as g: for i in range(0, 256, 14): data = bytes([i, 255-i] * 32 + [255-i, i] * 32) * 32 print("add_frame") g.add_frame(data) # expected to raise an error, buffer is not big enough with gifio.GifWriter("/dev/null", 64, 64, displayio.Colorspace.L8) as g: g.add_frame(bytes([3,3,3])) ``` |
||
---|---|---|
.. | ||
circuitpython.pot | ||
cs.po | ||
de_DE.po | ||
el.po | ||
en_GB.po | ||
en_US.po | ||
en_x_pirate.po | ||
es.po | ||
fil.po | ||
fr.po | ||
hi.po | ||
ID.po | ||
it_IT.po | ||
ja.po | ||
ko.po | ||
nl.po | ||
pl.po | ||
pt_BR.po | ||
sv.po | ||
zh_Latn_pinyin.po |