Skip to content

Releases: python-pillow/Sane

v2.9.1

05 Jan 12:51
Compare
Choose a tag to compare
Set version to 2.9.1

v2.9.0

05 Jan 12:50
Compare
Choose a tag to compare
Set version to 2.9.0

v2.8.3

02 Jan 11:54
Compare
Choose a tag to compare
  • _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

07 Aug 23:15
Compare
Choose a tag to compare
  • _sane.c:
    • Fix reading of 1bit scan data
  • sane.py:
    • Fix document feeder out of documents exception checking

v2.8.1

27 Mar 22:16
Compare
Choose a tag to compare

Version 2.8.1

  • sane.py:
    • Fix array shape returned by sane.arr_snap()

v2.8.0

07 Mar 21:30
Compare
Choose a tag to compare

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.
  • 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

02 Jan 18:44
Compare
Choose a tag to compare

Released in its own repo.