circuitpython/shared-module
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
..
2021-10-15 08:20:54 -05:00
2021-03-15 19:27:36 +05:30
2021-03-15 19:27:36 +05:30
2021-10-15 08:20:54 -05:00
2021-05-21 17:49:50 -04:00
2021-03-15 19:27:36 +05:30
2021-10-26 08:54:18 -05:00
2021-10-15 08:20:54 -05:00
2021-09-26 09:39:40 +05:30
2021-10-15 08:20:54 -05:00
2021-10-26 08:54:18 -05:00
2021-03-15 19:27:36 +05:30
2021-09-16 21:08:05 -05:00
2021-03-15 19:27:36 +05:30
2017-11-02 12:41:50 -07:00
2021-03-15 19:27:36 +05:30
2021-10-15 08:20:54 -05:00
2021-07-12 14:40:01 -04:00
2021-03-15 19:27:36 +05:30
2021-05-27 11:33:17 -05:00
2021-10-25 16:52:23 -05:00
2021-03-15 19:27:36 +05:30
2020-11-25 17:52:06 -05:00
2021-03-15 19:27:36 +05:30
2021-10-15 08:20:54 -05:00
2021-03-15 19:27:36 +05:30