enthought / enable

Enable: low-level drawing and interaction
Other
93 stars 44 forks source link

Kiva `celiagg.GraphicsContext` init doesn't properly handle non-32-bit pix_formats #1065

Open corranwebster opened 11 months ago

corranwebster commented 11 months ago

In the __init__ method, it always creates a numpy buffer with 4 channels instead of 3 for rgb24. Celiagg then throws an error when it is passed the buffer.