[sane-devel] HP Scanjet 3670 bad colors

2014-03-31 Thread Octavio Alvarez
On 03/31/2014 08:37 PM, Stef wrote:
> thanks for all the data. It'll take me a couple of days to analyze
> them and compare with the results of my hp3670.

If you also have one and works then we may have different versions of
the 3670. Mine has regulatory model GRLYB-0306.




[sane-devel] HP Scanjet 3670 bad colors

2014-03-31 Thread Stef
On 31/03/2014 15:51, Octavio Alvarez wrote:
> Hi.
>
> I'm trying to get my HP Scanjet 3670 under Linux. The scanner works (it
> scans and all) but the scan has some color distortion.
>
> I confirmed the scanner works: here is a comparison of a section of a
> scanned image in both, Windows and Linux:
>
> http://blog.alvarezp.org/files/scan-hp3670/scan-hp3670-win7.jpg
> http://blog.alvarezp.org/files/scan-hp3670/scan-hp3670-linux.png
>
> The scan is a black and white section of a creased document.
>
> Even the problem itself is very unstable. Sometimes the whole page is
> distorted, sometimes only gray shades are. *Once* in my 40-like attempts
> the output was acceptable but I could not reproduce this success case. I
> noticed, though that solid strong colors are usually not distorted.
>
> I wanted to find out if this was an introduced bug, but I could only
> compile as back as 1.0.22 + 2 commits and it failed too. Before that,
> there is a V4L compilation blocker that prevented me from going further
> back.
>
> I tried looking at the code but I realized I understand very little
> (near to nothing) about how a scanner works.
>
> Is this a SANE bug? What can be done to make it properly work?
>
> Thanks.
>
 Hello,

 the problem is coming from incorrect calibration by the backend.  
Gain is too high. Could you please run SANE 1.0.24 backend version with 
traces enabled, and send me log file and *.pnm files created during 
calibration ?
In a command shell type:
export SANE_DEBUG_GENESYS=255
export SANE_DEBUG_GENESYS_LOW=255
export SANE_DEBUG_GENESYS_GL646=255
export SANE_DEBUG_GENESYS_GL841=255
scanimage -d genesys --resolution 75 --preview --mode Color 
2>preview.log >preview.pnm


Regards,
 Stef






[sane-devel] Announce: BcScan 0.0.1, minimal PDF document scans for OSX

2014-03-31 Thread Gjermund Gusland Thorsen
On 31 Mar, 2014, at 4:20 pm, Carlo Capocasa  wrote:

> Hello everyone,
> 
> I would like to invite everyone interested to try out BcScan 0.0.1, a minimal 
> document scanning APP for OSX (MIT license).
Location?

> Minimal means that running the app opens no GUI but just does an A4 scan in 
> document mode directly to a PDF on your desktop, and opens it in preview. If 
> you keep preview open scanning again adds more pages, otherwise a new 
> document is created.
> 
> I have found it much more convenient for quckly scanning documents than other 
> apps that require a preview scan, and much faster than anything using TWAIN.
> 
> I have only tested it with Snow Leopard so far. I hope it is useful! Feedback 
> and patches are quite welcome.
> 
> Carlo
> 
> 
> 
> -- 
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org




[sane-devel] Canon P-215 USB modeswitching

2014-03-31 Thread John Paul Adrian Glaubitz
Hi!

I am currently trying to get the Canon P-215 document scanner
working with SANE backends 1.0.24 from Debian unstable, the
scanner is reported to have basic support.

The scanner integrates a USB mass storage device to store drivers
and applications for Windows and MacOS allowing the scanner to
be used without the hassle of dealing with installation media.

Thus, when connecting the scanner to my Linux box, it's shown
as a mass storage device with a different device ID (0x1647
instead of 0x1646 which is the device ID listed in /etc/sane.d/
canon_dr.conf).

I have been playing around with usb_modeswitch to set the scanner
into scanner mode, but without success.

Does anyone know the proper call to usb_modeswitch to invoke the
scanner mode? Since the scanner has been reported to work with
SANE, I suppose someone knows how to do that :).

Cheers,

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



[sane-devel] Announce: BcScan 0.0.1, minimal PDF document scans for OSX

2014-03-31 Thread Carlo Capocasa

> Location?

I'm sorry, the location is

https://github.com/carlocapocasa/bcscan





[sane-devel] HP Scanjet 3670 bad colors

2014-03-31 Thread Octavio Alvarez
On 03/31/2014 07:34 AM, Stef wrote:
> the problem is coming from incorrect calibration by the backend. 
> Gain is too high. Could you please run SANE 1.0.24 backend version with
> traces enabled, and send me log file and *.pnm files created during
> calibration ?
> In a command shell type:
> export SANE_DEBUG_GENESYS=255
> export SANE_DEBUG_GENESYS_LOW=255
> export SANE_DEBUG_GENESYS_GL646=255
> export SANE_DEBUG_GENESYS_GL841=255
> scanimage -d genesys --resolution 75 --preview --mode Color
> 2>preview.log >preview.pnm
> 

I took some samples, even one with --resolution 150 and uploaded them here:

http://blog.alvarezp.org/files/scan-hp3670/hp-sj3670-samples-1.tar.gz

Some of those came out ok, some didn't. Only --resolution 150 threw out
a full set of pnm calibration files. --resolution 175 only threw out
warmup*.pnm files.





[sane-devel] Announce: BcScan 0.0.1, minimal PDF document scans for OSX

2014-03-31 Thread Carlo Capocasa
Hello everyone,

I would like to invite everyone interested to try out BcScan 0.0.1, a minimal 
document scanning APP for OSX (MIT license).

Minimal means that running the app opens no GUI but just does an A4 scan in 
document mode directly to a PDF on your desktop, and opens it in preview. If 
you keep preview open scanning again adds more pages, otherwise a new 
document is created.

I have found it much more convenient for quckly scanning documents than other 
apps that require a preview scan, and much faster than anything using TWAIN.

I have only tested it with Snow Leopard so far. I hope it is useful! Feedback 
and patches are quite welcome.

Carlo





[sane-devel] HP Scanjet 3670 bad colors

2014-03-31 Thread Octavio Alvarez
Hi.

I'm trying to get my HP Scanjet 3670 under Linux. The scanner works (it
scans and all) but the scan has some color distortion.

I confirmed the scanner works: here is a comparison of a section of a
scanned image in both, Windows and Linux:

http://blog.alvarezp.org/files/scan-hp3670/scan-hp3670-win7.jpg
http://blog.alvarezp.org/files/scan-hp3670/scan-hp3670-linux.png

The scan is a black and white section of a creased document.

Even the problem itself is very unstable. Sometimes the whole page is
distorted, sometimes only gray shades are. *Once* in my 40-like attempts
the output was acceptable but I could not reproduce this success case. I
noticed, though that solid strong colors are usually not distorted.

I wanted to find out if this was an introduced bug, but I could only
compile as back as 1.0.22 + 2 commits and it failed too. Before that,
there is a V4L compilation blocker that prevented me from going further
back.

I tried looking at the code but I realized I understand very little
(near to nothing) about how a scanner works.

Is this a SANE bug? What can be done to make it properly work?

Thanks.