enthought/enable

Standardize pixel buffer access

corranwebster opened this issue · 0 comments

For Kiva backends which store values in a buffer, we'd like a standard way to access the bytes as a buffer (ideally as a NumPy array). Many backends have bmp_array attribute holding this (which is checked for when rendering some images), but others have a pixel_map instead with methods for accessing the data.