circuitpython/locale
Jeff Epler c34b6f757f Implement gifio.GifWriter
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]))
```
2021-10-26 08:54:18 -05:00
..
circuitpython.pot Implement gifio.GifWriter 2021-10-26 08:54:18 -05:00
cs.po Update translation files 2021-10-25 23:42:22 +02:00
de_DE.po Update translation files 2021-10-25 23:42:22 +02:00
el.po Update translation files 2021-10-25 23:42:22 +02:00
en_GB.po Update translation files 2021-10-25 23:42:22 +02:00
en_US.po Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
en_x_pirate.po Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
es.po Update translation files 2021-10-25 23:42:22 +02:00
fil.po Update translation files 2021-10-25 23:42:22 +02:00
fr.po Update translation files 2021-10-25 23:42:22 +02:00
hi.po Update translation files 2021-10-25 23:42:22 +02:00
ID.po Update translation files 2021-10-25 23:42:22 +02:00
it_IT.po Update translation files 2021-10-25 23:42:22 +02:00
ja.po Update translation files 2021-10-25 23:42:22 +02:00
ko.po Update translation files 2021-10-25 23:42:22 +02:00
nl.po Update translation files 2021-10-25 23:42:22 +02:00
pl.po Update translation files 2021-10-25 23:42:22 +02:00
pt_BR.po Update translation files 2021-10-25 23:42:22 +02:00
sv.po Update translation files 2021-10-25 23:42:22 +02:00
zh_Latn_pinyin.po Update translation files 2021-10-25 23:42:22 +02:00