python-pillow / Sane

Python interface to the SANE scanner and frame grabber
Other
55 stars 19 forks source link

Support of Numpy needed for arr-scan defined in _sane.c with new distribution #2

Closed jfberar closed 9 years ago

jfberar commented 9 years ago

Numarray seems no more available, so moving to numpy is needed if you whish to access to 16bit arrays. Unfortunatly, I do not succeed for colors 16bits, a bug to investigate seems to exist in the epkowa driver. Modifications done are all related with numpy (numarray remains possible at compilation time) and support of colors array (at less 8bit ones); added a function checkArraySupport allowing to get informations at run time on the array support.

Thank to all people who have worked in pillows. jfrancois

hugovk commented 9 years ago

@jfberar We're not maintaining SANE, that's why we've moved it to its own repo, but thanks for the PR. I've merged it.

jfberar commented 9 years ago

For me it was more the python-pillow interface than Sane, that was why I put it here