12/6/2023 0 Comments Twain sane scanner softwareAlso, take a look at the file called PROBLEMS it contains a list of known problems and their work arounds. The README explains how to build and install SANE. So, unless you are building SANE for a server only, I recommend that you install at least GTK, if not GIMP.Īfter fetching the SANE distribution, unpack the compressed tar file and follow the instructions in the README file. However, that way none of the nice graphical-user-interface programs will be built, thus taking away much of the fun. Note that the SANE distribution will build just fine without the GIMP/GTK libraries. GTK is the user-interface toolkit that originally has been developed for the GIMP, but is now being adopted by many other projects, including SANE. If you want to build the graphical-user-interface programs that come with SANE, you will also need to fetch, build and install the GIMP or, at a minimum, the GTK distribution. To start using SANE, fetch the latest version of the distribution from the ftp directory. Indeed, the current SANE distribution includes support for network-transparent scanning. ![]() In contrast, SANE enforces a strict separation between the actual driver and the user-interface for its controls. This makes it unsuitable for Linux or networked environments where the scanner driver might run on one machine and the application on another. The main reason TWAIN is not SANE is that TWAIN puts the graphical user interface to control the device in the driver instead of the application. The fact that the two rhyme is not coincidental, but that’s a different story. The closest thing to SANE is probably TWAIN. In contrast, SANE is general enough to support any device that acquires raster images. For example, PINT is really a somewhat primitive kernel-level interface and the hand-scanner interface by definition is limited to hand-scanners. The problem is that these older interfaces prove to be lacking in one way or another. You may have heard of TWAIN, PINT or the Linux hand-scanner interface. Of course, SANE is not the first attempt to create such a universal interface. Thus, SANE makes it possible to present the same consistent interface independent of the particular device that is in use. It gives the user the liberty to choose whichever application he likes best, and that one application can be used to control all image-acquisition devices the user can access. With SANE, only 5+10=15 programs have to be written. With the old approach, 5*10=50 programs would have to be written. Suppose we wanted five applications to support ten different devices. There are benefits for the application programmer as well since SANE is universal, an application can be written independently of the devices that it will eventually control. Thus, the author of a new scanner driver would not have to worry about writing an application for the driver. The basic idea is simple: if there was a general and well-defined application programming interface (API), it would be easy to write applications independently from scanner drivers. SANE was created to provide a solution to this dilemma. ![]() While variety is said to make life sweet, in this case it’s more likely to cause a sizeable headache. Furthermore, some packages come with a command-line interface, others include Tcl/Tk based graphical front ends, still others come with full-featured, graphical front ends. While each individual package is usually of high quality, it is often difficult to determine which package should be used for which scanner. ![]() ![]() At the time of this writing, at least fourteen different scanner packages exist for Linux. Have you ever wanted to scan an image under Linux? If so, you probably know the feeling of being faced by a bewildering number of scanner-driver packages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |