[sane-devel] How to get infrared image data with sane on an epson v700 scanner?

m. allan noah kitno455 at gmail.com
Mon Jan 31 14:11:58 UTC 2011

There is some code in sane to expose additional image types like jpeg
and IR. It is disabled because it's not compatible with the sane
specification. It does work with scanimage, however.

So, you would need to get usb logs of either the windows driver or
vuescan making an IR second pass, and figure out how to make those
same calls from within the backend.


On Mon, Jan 31, 2011 at 8:21 AM, Alain Culos <sane-devel at asoundmove.net> wrote:
> Hi all,
> I have unsuccessfully scanned the archives and the Internet at large for
> relevant answers. So please point me in the right direction if this question
> has already been answered.
> It seems that it is not possible to use sane to read infrared data (second
> pass) with my Epson Perfection V700 scanner out of the box. However vuescan
> can do this. It seems quite simple since this is a two-pass process, it
> should be a matter of sending the right command to the scanner and getting a
> plain B&W image back instead of 3-channel colour.
> So are there any options to get that working with SANE? Any known patch? Any
> configuration behind the scenes? Any undocumented feature?
> I asked the question on Avasys' message board and they suggested this
> mailing list, so if any of you guys out there had relevant information, I
> would appreciate greatly.
> Of particular interest is the 6400dpi resolution in 16bits per channel to
> scan slides, so I need the infrared option on the epkowa driver as the
> epson2 driver seems limited to 3200dpi anyway.
> As far as I can tell neither epkowa nor epson2 offers the infrared scan,
> though it seems that it should be a simple option (vuescan actually can do
> the job, it does two scan passes, one for the RGB and one for the infrared,
> but I would much prefer to be able to do my scans from the command-line
> rather than using a GUI, no matter how good, such as vuescan).
> Note that I don't mind if the infrared scan comes out as a separate image, I
> can manage to combine them as needed.
> Also of interest and not included in the current sane-epkowa driver are:
> 1/ single pass scans with multiple samples (is this possible with SANE? -
> vuescan does it).
> 2/ information about the scanimage -brightness setting and what brightness
> values mean in terms of photographic exposure.
> If no one has done this, I'd love to help, but I'll need a few pointers from
> you guys to get started on hacking the epkowa or the epson2 back-end.
> Many thanks in advance,
> Alain.

"The truth is an offense, but not a sin"

More information about the sane-devel mailing list