[sane-devel] Using the API to set preview mode on an Epson Perfection

Karl Heinz Kremer khk at khk.net
Tue Jan 24 12:14:46 UTC 2006


"Preview" is not an option, it's a function of the frontend: Just scan the
whole scan area with a low resolution.

Vacuum Joe wrote:
>  I have written my own scanner controler (using JNI, so I can scan from
> Java).  My scanner here is an Epson Perfection 2400.  When I go through
> and list all the options for it, I get:
>
>  Option name: mode
>  Option name: depth
>  Option name: halftoning
>  Option name: dropout
>  Option name: brightness
>  Option name: sharpness
>  Option name: gamma-correction
>  Option name: color-correction
>  Option name: resolution
>  Option name: threshold
>  Option name: zoom
>  Option name: red-gamma-table
>  Option name: green-gamma-table
>  Option name: blue-gamma-table
>  Option name: cct-1
>  Option name: cct-2
>  Option name: cct-3
>  Option name: cct-4
>  Option name: cct-5
>  Option name: cct-6
>  Option name: cct-7
>  Option name: cct-8
>  Option name: cct-9
>  Option name: tl-x
>  Option name: tl-y
>  Option name: br-x
>  Option name: br-y
>  Option name: quick-format
>  Option name: source
>  Option name: film-type
>  Option name: focus-position
>  Option name: bay
>  Option name: adf_mode
>
>  That is just using the API.  Strangely, there is no "preview" option
> listed.  Does this scanner have a preview option?  Is there some other
> way to list them?
>
>  SANE API is cool, btw.  It was pretty easy to get it set up and start
> doing scans in Java.  In fact, with gcj, I could even release a binary of
> this scanning software.
>
>
>
>
> ---------------------------------
> Yahoo! Photos
>  Ring in the New Year with Photo Calendars. Add photos, events, holidays,
> whatever.--
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org




More information about the sane-devel mailing list