.TH sane\-plustek8200i 5 "07 Oct 2026" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy" .IX sane\-plustek8200i .SH NAME sane\-plustek8200i \- SANE backend for the Plustek OpticFilm 8200i (GL128) .SH DESCRIPTION The .B sane\-plustek8200i library implements a SANE (Scanner Access Now Easy) backend that provides access to the Genesys GL128 based Plustek OpticFilm 8200i film scanner: .PP .RS .ft CR .nf Vendor Product Chipset Connection ------ ------- ------- ---------- 0x07b3 0x1825 GL128 USB .fi .ft R .RE .PP .B Note: an older scanner sells under the same model name but reports USB product ID .BR 0x130d , and uses a GL845. That one is driven by .BR sane\-genesys (5), not by this backend. Identify the device by its USB ID or chipset rather than by its model name. .PP This is a transparency-only scanner: there is no flatbed mode. The device has a fourth, infrared illuminant that this backend uses to detect and repair dust and scratches. .SH OPTIONS .TP .B \-\-mode Color|Gray|Infrared|Color+Infrared Selects the scan mode. .B Color delivers RGB and .B Gray a single averaged channel. .B Infrared delivers only the infrared channel, in which film dye is transparent, so that physical defects alone remain. .B Color+Infrared delivers two SANE frames: the colour image, then its pixel-aligned infrared plane as a gray frame. SANE has no standard four-channel frame format, so a frontend must accept multiple frames to use it; .BR scanimage (1) cannot save the second frame. .TP .B \-\-resolution 300|600|1200|2400|3600|7200 Scan resolution in dpi. Above roughly 1490 dpi the vertical sampling is set by the line rate against the motor speed, so the higher settings are upsampled vertically to the resolution they report. .TP .B \-\-depth 8|16 Bits per channel. The sensor is 16 bit; 8 bit keeps the high byte of each sample. .TP .B \-\-ir\-clean[=yes|no] Make an additional infrared pass and repair dust and scratches in the colour image from it. This roughly doubles the scan time. .TP .B \-\-auto\-wb[=yes|no] Scale the colour channels so that their means match. Off by default, because negative conversion and colour profiling need the sensor's calibrated response unchanged. .TP .B \-\-exposure 1.0..4.0 Light integration time as a multiple of the default. The carriage slows down to preserve the geometry, so the scan takes proportionally longer. For dense negatives and dark slides. .TP .B \-l \-t \-x \-y The scan window, in millimetres, within the film frame. .SH BUTTONS The scanner has two buttons on its front, marked .B IntelliScan and .BR QuickScan . The backend reports them as read-only sensor options, which a frontend polls: .TP .B \-\-scan The .B QuickScan button. It carries the standard SANE name .RB \(lq scan \(rq, being this panel's scan button, so a generic button daemon such as .BR scanbd (8) finds it without configuration. .TP .B \-\-intelliscan The .B IntelliScan button. There is no standard SANE name for a second scan button, and giving it a reserved one such as .RB \(lq email \(rq would misdescribe it. .PP Both are .B SANE_TYPE_BOOL with .B SANE_CAP_HARD_SELECT and .BR SANE_CAP_SOFT_DETECT , and both are read\-and\-clear: a press stays pending until the option is read, and the read that reports it clears it, so one press is reported exactly once. Polling a few times a second is enough; a press cannot be missed by polling too slowly, because the scanner holds it until it is read. .PP To watch them with .BR scanimage (1): .PP .RS .nf while :; do scanimage \-\-device "$dev" \-A 2>/dev/null \e | grep \-E \-\- '\-\-(scan|intelliscan)\e[.*\e[yes\e]' sleep 0.5 done .fi .RE .PP A pressed button is the one whose value .B \-A prints as .RB \(lq [yes] \(rq, and it reads as .RB \(lq [no] \(rq from then on. For anything more than a look, use a daemon built for the job, such as .BR scanbd (8), rather than a loop around .BR scanimage (1): each run opens and closes the scanner, and .B sane_open discards whatever was pending, so a loop like the one above can drop a press that lands between two runs. .PP A press made while no frontend has the scanner open is still waiting the next time one opens it. Because such a press has no relation to what the new frontend is doing, .B sane_open discards whatever is pending, and only presses made during the session are reported. .SH IMAGE DATA As required by the SANE standard, 16 bit samples are delivered in the .B native byte order of the host the backend runs on. Frontends that write a fixed-endian file format must byte-swap accordingly, and .BR saned (8) reconciles the byte order itself when the client and server differ. .SH LIMITATIONS .IP \(bu 2 The backend scans one frame per .BR sane_start . It does not advance the film or select a frame: position the holder by hand, then scan. There is no batch mode. .IP \(bu 2 The scanner takes 35 mm film only, strips and mounted slides; no other film size exists for it, so there is nothing to select. The largest scan window, which the backend covers entirely, is about 36.5 x 27.2 mm, the frame plus a margin at each end. The .B \-l \-t \-x \-y options select a part of that window. .IP \(bu 2 The resolutions are those listed under .BR \-\-resolution ; there is nothing below 300 dpi. A 7200 dpi scan is about 10368 x 7755 pixels and takes roughly two minutes. Above about 1490 dpi the film is sampled more finely by slowing the carriage, so scans at the highest settings take proportionally longer. .IP \(bu 2 The image is delivered as the sensor measured it, after shading correction. The backend does not invert negatives, apply a gamma curve or attach a colour profile; the frontend has to. .IP \(bu 2 The scanner is calibrated before every scan, and the result is not cached. This adds to the scan time but keeps the calibration current. .IP \(bu 2 Infrared dust and scratch repair .RB ( \-\-ir\-clean ) applies to colour scans only. .B Color+Infrared needs a frontend that accepts more than one SANE frame per image. .IP \(bu 2 Infrared repair does not work on Kodachrome slides. Its dyes absorb infrared as they absorb visible light, so the infrared plane shows the picture as well as the dust, and .B \-\-ir\-clean cannot tell the two apart and can damage the image. The backend does not know the film type and does not warn: do not use .B \-\-ir\-clean or the infrared plane for dust removal on Kodachrome, and remove dust in software instead. Ektachrome and other E-6 slide films, and colour negatives, are transparent to infrared and work normally. Silver black and white negatives block infrared as well. .IP \(bu 2 Button presses are not reported while a scan is running. The scan owns the USB timeouts the button read would have to change, so the backend leaves the endpoint alone until the scan finishes. Nothing is lost: the scanner keeps the press queued, and the first poll after the scan reports it. .IP \(bu 2 Non-blocking I/O is not supported: .BR sane_set_io_mode refuses it and .BR sane_get_select_fd returns .BR SANE_STATUS_UNSUPPORTED . .IP \(bu 2 The backend was developed and verified against a single scanner. The image geometry (the vertical scale, the horizontal mirroring and the margins) was fitted against scans made with the vendor's own software, and another unit or hardware revision may need adjustments. The older OpticFilm 8200i with USB product ID .B 0x130d is not handled by this backend. .SH FILES .TP .I @CONFIGDIR@/plustek8200i.conf The backend configuration file. .TP .I @LIBDIR@/libsane\-plustek8200i.a The static library implementing this backend. .TP .I @LIBDIR@/libsane\-plustek8200i.so The shared library implementing this backend (present on systems that support dynamic loading). .SH ENVIRONMENT .TP .B SANE_DEBUG_PLUSTEK8200I If the library was compiled with debug support enabled, this variable controls the debug level: 0 errors, 1 adds warnings, 2 adds progress, 3 adds detail on the scan setup, and 4 adds every register write. Level 4 is enough to reconstruct the register state at any point of a scan without a USB sniffer. .SH "SEE ALSO" .BR sane (7), .BR sane\-genesys (5), .BR sane\-usb (5), .BR scanimage (1), .BR saned (8) .SH AUTHOR Christian Schaller