🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.misc
1 messages
1 total messages Started by Erika Kupkova Wed, 25 Jun 2003 09:50
Scanner or camera image acquisition from Java
#3186
Author: Erika Kupkova
Date: Wed, 25 Jun 2003 09:50
41 lines
2643 bytes
To make a connection to a scanner or a camera directly from a java
aplication, you can use the Java Twain package. This package enables
you to acquire an image from you own scanner/camera or from a remote
image source in a very intuitive way.

If you just want to see how Java Twain works with your scanner or
camera:

- java (1.2 or higher for Windows, 1.3 or higher for Mac OS X) has to
be installed on your computer
- a scanner or camera has to be installed on your computer 
- download the trial package from http://www.gnome.sk 
- unzipp it 
- go to the examples directory of the unzipped package 
- in Windows: doubleclick the runExampleShow.bat
- in MacOS: 
  - open the Terminal window 
  - change the working directory to the examples 
  - run .sh file (type ExampleShow.sh or sh ExampleShow.sh) 
 
This will pop up the Twain Source Selection user interface. There, all
your scanners and cameras which do have a twain driver should be
listed. (About 90% of scanners and cameras on the market do have a
twain driver for Windows, only a few do have a twain driver for
MacOS.) Select one of them. The user interface of the selected scanner
(camera) will appear. Confirm the scanning (you can set the scanning
parameters first). The scanned image will be displayed in a separate
window. To end the application, close that window.
Running different examples, you can test scanning with hidden UI,
saving the scanned image, using ADF, ...

To see the Java Twain working with a remote image source, try the
online remote examples at
http://www.gnome.sk/Twain/remote/www/twain/server/php/remote.html

If there is any problem, do not hesitate to inquire about it at the
technical support, email: twain@gnome.sk . I am the member of the
staff :)

Erika Kupkova
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads