Skip to main content

Crate nkscan

Crate nkscan 

Source
Expand description

A cross-platform driver for Nikon (Coolscan) film scanners

use nkscan::{device, session::Session};

let devices = device::list();
let device = devices.first().expect("no scanner found");
let mut session = Session::open(device.open()?)?;

session.stage()?; // homes the mechanism once a holder is loaded
let caps = session.capabilities();

Modules§

device
Unification of all the different transports to actually present the user
dust
An implementation of IR-based dust removal following @a6o’s openICE
error
High level errors containing protocol and transport errors
protocol
Transport-agnostic implementations of the Nikon wire-protocol
scan
High-level scanning operations
session
An open, exclusive hold of a scanner
transport
Abstraction layer and cross-platform implementation of the transports for the scanners (USB/FireWire)