sand 0.0.7

A D interface to sane (Scanner Access Now D)


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

SAND

Build Status

SANE Access Now D

SAND provides a D interface to the SANE (Scanner Access Now Easy) C API. The interface is designed to be easy to read and safe to use.

// Initialise sane interface
auto sane = new Sane();
    
// Find all devices
auto devices = sane.devices();
    
// List all options for a device
if(devices.length) {
    auto options = devices[0].options;
    foreach(option; options) {
        writeln(option);
    }
}

To test the code enable the "test" driver in /etc/sane.d/dll.conf (or system equivelent)

Authors:
  • Duncan Paterson
Dependencies:
none
Versions:
0.0.7 2018-Jul-30
0.0.6 2018-Jul-29
0.0.5 2018-Mar-21
0.0.4 2018-Mar-14
0.0.3 2018-Mar-13
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 0 downloads total

Score:
0.1
Short URL:
sand.dub.pm