sanpera
sanpera copied to clipboard
Support buffer protocol (?)
Unclear if I can do this from Python-land or how useful it would be in practice or whether ImageMagick can even guarantee that the buffer protocol would be usable.
Also, the protocol is different in 2.6 vs 2.7 vs 3.x.
So figure all these things out and do it or don't.
Nope, you can't do it in Python land.
Relevant documentation is here: https://docs.python.org/3/c-api/buffer.html and here: https://docs.python.org/2/c-api/buffer.html