circuitpython/ports/unix/variants/coverage
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
..
frzmpy Add frzqstr to coverage build 2021-05-05 11:00:39 -05:00
frzstr Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
manifest.py unix: Make manifest selection match other ports. 2020-07-01 22:42:55 +10:00
mpconfigvariant.h Merge MicroPython 1.14 into CircuitPython 2021-05-11 15:07:40 -07:00
mpconfigvariant.mk Implement gifio.GifWriter 2021-10-26 08:54:18 -05:00