dexapier / imagescanner Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/imagescanner
Automatically exported from code.google.com/p/imagescanner
From Python 2.7 importlib is shipped with official distributions
Original issue reported on code.google.com by seocam
on 16 May 2011 at 4:32
Test backend is not working.
Original issue reported on code.google.com by seocam
on 16 May 2011 at 4:33
Implement support for standard status for the devices. IE: Ready, Scanning, Not
Responding, Waiting, Shutting, etc.
Original issue reported on code.google.com by seocam
on 14 May 2011 at 3:29
simplejson is easier to be installed than cjson and we are not serializing data
enough to see any performance gain with cjson.
Original issue reported on code.google.com by seocam
on 14 May 2011 at 3:34
Executing "pip install imagescanner" on a python 2.7 install (windows 32) fails
with an exception stating that importlib is included in 2.7.
Original issue reported on code.google.com by [email protected]
on 15 Sep 2011 at 7:35
HI,
Your application is great, along with pdfgen.py
(http://keyj.emphy.de/files/pdfgen.py) I was able to convert to pdf.
Can I use the scanner from the client?
Thanks.
Original issue reported on code.google.com by [email protected]
on 25 Apr 2012 at 9:51
When PIL is installed by setup.py or easy_install an egg file is generated.
The current implementation of pysane can't import PIL if it's zipped.
If PIL is installed using pip it works fine. It also works when installed from
the official Ubuntu package.
Traceback:
>>> import sane
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/sergio/.virtualenvs/imagescanner/lib/python2.6/site-packages/pysane-2.0-py2.6-linux-x86_64.egg/sane.py", line 11, in <module>
ImportError: No module named PIL
Original issue reported on code.google.com by seocam
on 1 Aug 2011 at 10:10
I have installed python 2.7.4_pre20120805 and `platform.python_version()`
returns '2.7.3+'. As a result the expression
`platform.python_version() < version.StrictVersion("2.7")` in setup.py raises
`ValueError`:
python2.7 setup.py build
Traceback (most recent call last):
File "setup.py", line 25, in <module>
if platform.python_version() < version.StrictVersion("2.7"):
File "/usr/lib/python2.7/distutils/version.py", line 138, in __cmp__
other = StrictVersion(other)
File "/usr/lib/python2.7/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/usr/lib/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '2.7.3+'
I unsure, maybe this condition can be
`version.LooseVersion(platform.python_version()) < version.LooseVersion("2.7")`?
Original issue reported on code.google.com by 4glitch
on 7 Nov 2012 at 11:38
Check what is missing to have it working on OS X and implement it.
Original issue reported on code.google.com by seocam
on 14 May 2011 at 3:28
Read the configuration from /etc on Linux.
Any idea where it should be in Windows?
Original issue reported on code.google.com by seocam
on 14 May 2011 at 3:31
What steps will reproduce the problem?
1. Retrieve Scanner object
2. Attempt to call scan() method with dpi not set to 200
What is the expected output? What do you see instead?
Expected: scanning the document with desired DPI.
Actual: scanning the document with DPI 200.
What version of the product are you using? On what operating system?
imagescanner 0.9 for python 2.7 on win 7, installed via pip.
Suggested fix:
imagescanner/ backends/ twain/ __init__.py
@lines 53-54
def _open(self):
self._src_manager = twain.SourceManager(0)
self._scanner = self._src_manager.OpenSource(self._source_name)
- self._scanner.SetCapability(twain.ICAP_YRESOLUTION,
- twain.TWTY_FIX32, 200.0)
@lines 60-61
def scan(self, dpi=200):
self._open()
+ self._scanner.SetCapability(twain.ICAP_YRESOLUTION,
+ twain.TWTY_FIX32, dpi)
self._scanner.RequestAcquire(0, 0)
Original issue reported on code.google.com by [email protected]
on 22 May 2014 at 10:01
Create a method Scanner.scan_async
Original issue reported on code.google.com by seocam
on 3 Aug 2011 at 3:25
I have was not satisfied with twain behavior (in complains about installed but
not connected scanners), so I implemented WIA backend ;-) It is my clone:
http://code.google.com/r/zdenop-imagescanner/ so you can merge it to main code
if you like it.
Twain is still available (so complaining about not present scanner is still
there :-))
Original issue reported on code.google.com by [email protected]
on 10 Dec 2011 at 12:36
Create a test infrastructure for the project
Original issue reported on code.google.com by seocam
on 14 May 2011 at 3:32
Move scanner_serializer from __init__.py to a file on utils/
Original issue reported on code.google.com by seocam
on 14 May 2011 at 3:35
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.