Releases: python-pillow/Sane
Releases · python-pillow/Sane
v2.9.1
v2.9.0
v2.8.3
- _sane.c:
- Don't call sane_close on handle if sane_exit was called since
- Documentation.
- Fix example and documentation to reflect actual arr_snap array shape
- Fix various typos
v2.8.2
- _sane.c:
- Fix reading of 1bit scan data
- sane.py:
- Fix document feeder out of documents exception checking
v2.8.1
Version 2.8.1
- sane.py:
- Fix array shape returned by sane.arr_snap()
v2.8.0
Version 2.8.0
- _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 via Image.frombuffer in sane.py now. - General cleanup, fixing some Py_INCREF and Py_DECREF issues along the way.
- Rewritten snap method, it now also works with backends which do not report
- sane.py:
- Make arr_snap return a 3D numpy array, shaped (samples, width, heigth)
- 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
Note for package maintainers
The build-time dependency on the PIL and numpy headers has been removed.
Version 2.7.0
Released in its own repo.