Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 342 Bytes

File metadata and controls

5 lines (5 loc) · 342 Bytes

BufferRegion.to_string and BufferRegion.to_string_argb

... are deprecated. Use np.asarray(buffer_region) to get an array view on a buffer region without making a copy; to convert that view from RGBA (the default) to ARGB, use np.take(..., [2, 1, 0, 3], axis=2).