-------------
- _sane.c:
- Rewritten snap method, it now also works with backends which do not report
the number of lines in advance. Also, it now reads the data into a generic
memory buffer, removing the dependency on Pillow and numpy/numarray in the
C code. A PIL image is created via Image.frombuffer in sane.py now.
- General cleanup, fixing some Py_INCREF and Py_DECREF issues along the way.
- sane.py:
- Make arr_snap return a 3D numpy array, shaped (samples, width, height)
- Remove multipleOf support in arr_snap, this should be done by the caller
- Overall cleanup
- Expose the localOnly option to sane.get_devices()
- Documentation:
- New python-sphinx generated documentation, reworked example