enthought / enthought/enable

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

Open
#1,065 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
C
Stars
97
Forks
45
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.