Sane
Sane copied to clipboard
Python interface to the SANE scanner and frame grabber
Hi, I am trying to do duplex scanning using Python-sane but unable to do duplex scanning please help me ... regards ```python import scanPython from PIL import Image mode =...
I have a couple of scanners (a Fujitsu SnapScan 1500 and a Canon CanoScan LiDE 210) that have front-panel buttons that can initiate scans. Unfortunately, the primary scan buttons are...
I couldn't find anything in the docs about how to use the `progress` callback function available in `SaneDev.snap()`. My first try was to pass in a function with only one...
If I e.g. use the iterator to scan 3 pages, a 4th one is also fed. Below is a minimal example which scans one page but feeds two sheets. ```python...
My scanner supports customisation of colour curve table. "scanimage" utility reports this option as ``` --red-gamma-table 0..255,... Gamma-correction table for the red band. --green-gamma-table 0..255,... Gamma-correction table for the green...
Hey, I'm working on a project where I create an app that uses python-sane that detects scanners and scans, etc. The scanner I have works by itself if I use...
Via the C-interface, it is perfectly possible to push virtual buttons, simply by using set_option() with an arbitrary value. The python bindings prevent this, however: ``` >>> import sane >>>...
I am trying to read the `scan` property on my Ricoh fi-8170 because it contains whether the scan button has been pressed. However, this is currently the result.  I...
the init/exit sequence is not cleaning up all resources. this short sequence shows the case: `````` from sane import init, get_devices, exit as deinit for _ in range(99): init() d...
Python 3.14 has been released.