Open snototter opened 1 year ago
Currently, the canvas property exposes the painter's RGBA data. A method to_rgb or similar would be handy to reduce copy-pasta in consuming applications.
canvas
to_rgb
This utility/functionality would just be a wrapper for:
img_buf = painter.canvas.to_channels(3)
Currently, the
canvas
property exposes the painter's RGBA data. A methodto_rgb
or similar would be handy to reduce copy-pasta in consuming applications.