gmic-py icon indicating copy to clipboard operation
gmic-py copied to clipboard

Add Pygame surfaces I/O support

Open myselfhimself opened this issue 3 years ago • 0 comments

Pygame is a very famous 2D games programming library for Python

Similar to WIP numpy arrays support:

  • image (not a type, related methods return a Surface)
  • Surface (user-level class, contains a BufferProxy pointed by Surface.get_buffer())
  • BufferProxy (memory wrapper to bytes exporting also the Python buffer interface, very similar to numpy array: has shape, a sort of dtype, endianness, strides and contiguousness information)

myselfhimself avatar Sep 25 '20 11:09 myselfhimself