circuitpython/ports/unix/variants
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
..
coverage Implement gifio.GifWriter 2021-10-26 08:54:18 -05:00
dev Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
fast Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
freedos Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
minimal Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
nanbox unix: Rename unix binaries to micropython-variant (not _variant). 2020-01-12 10:37:40 +11:00
standard unix/variants: Enable help and help("modules") on standard and dev. 2021-07-13 16:18:15 +10:00
manifest.py Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00