PascalSane: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: PascalSane
| Old | New | Line | |
|---|---|---|---|
| 1 | + | ### About | |
| 2 | + | ||
| 3 | + | PascalSane provides pascal bindings for the [libsane](http://www.sane-project.org/html/) library, enabling Lazarus and FreePascal applications to access scanners under Linux. | |
| 4 | + | ||
| 5 | + | Principal operations : | |
| 6 | + | ||
| 7 | + | - list available scanners | |
| 8 | + | - list options for a specified scanner | |
| 9 | + | - set options for a scanner | |
| 10 | + | - capture scanner input in PNM format | |
| 11 | + | ||
| 12 | + | The download contains the libsane bindings and a unit *saneutils.pas* which provides some simple functions for manipulating scanner data. It also contains a demonstration Lazarus application, which contains examples of operations that can be performed using libsane. | |
| 13 | + | ||
| 14 | + | ### Author | |
| 15 | + | ||
| 16 | + | **Malcolm Poole**: mgpoole at users.sourceforge.net | |
| 17 | + | ||
| 18 | + | ### License | |
| 19 | + | ||
| 20 | + | The libsane headers are in the public domain. The demo application is licensed under the GPL | |
| 21 | + | ||
| 22 | + | ### Download | |
| 23 | + | ||
| 24 | + | The latest stable release can be found at [<https://code.google.com/archive/p/ocrivist/downloads>](https://code.google.com/archive/p/ocrivist/downloads). | |
| 25 | + | ||
| 26 | + | ### Change Log | |
| 27 | + | ||
| 28 | + | - Version 0.2 *8 May 2011* | |
| 29 | + | ||
| 30 | + | ||
| 31 | + | \- Added missing functions and bitwise enumerations | |
| 32 | + | ||
| 33 | + | \- corrected translation of constraint union in SANE_Option_Descriptor | |
| 34 | + | ||
| 35 | + | \- fixed a number of memory management issues in demo project | |
| 36 | + | ||
| 37 | + | \- added libsane test backend to demo project | |
| 38 | + | ||
| 39 | + | - Version 0.1 *19 November 2008* | |
| 40 | + | ||
| 41 | + | ### Dependencies / System Requirements | |
| 42 | + | ||
| 43 | + | - Linux | |
| 44 | + | - libsane (libsane-dev for Ubuntu) | |
| 45 | + | ||
| 46 | + | ### Documentation | |
| 47 | + | ||
| 48 | + | [Documentation](http://www.sane-project.org/html/) for the Sane API covers all the functions provided by the bindings. The C source code for [scanimage](http://www.sane-project.org/man/scanimage.1.html) and other simple scanning applications are recommended for guidance. | |
| 49 | + | ||
| 50 | + | ### How to include PascalSane in a Lazarus application | |
| 51 | + | ||
| 52 | + | - add 'sane' to the **uses** statement | |
| 53 | + | - in the Project Options dialog, add the path to *sane.pas* in the **Other Unit Files** section. | |
| 54 | + | ||
| 55 | + | ### The *PascalSane* Example Application | |
| 56 | + | ||
| 57 | + | - Open pascalsanedemo.lpi | |
| 58 | + | - set path to sane.pas in Project Options dialog | |
| 59 | + | - compile | |
| 60 | + | - run | |
| 61 | + | ||
| 62 | + | --- | |
| 63 | + | *From the Free Pascal wiki, page "PascalSane", as it stood on 2019-11-01 after a change by Mgpoole, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 64 | + | Category: Components |
