🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.misc
Article #3186

Scanner or camera image acquisition from Java

#3186
From: 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
Technical Details
Message-ID: <908f9cf6.0306250150.2bfe4d14@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.mbox.zip!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <908f9cf6.0306250150.2bfe4d14@posting.google.com>
Subject: Scanner or camera image acquisition from Java
Date: Wed, 25 Jun 2003 09:50:14 +0000
From: ekupkova@gnome.sk (Erika Kupkova)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.mbox.zip!archiver1.google.com!postnews1.google.com!not-for-mail
Newsgroups: news.software.misc
Organization: http://groups.google.com/
Lines: 40
NNTP-Posting-Host: 158.195.16.233
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1056534614 25591 127.0.0.1 (25 Jun 2003 09:50:14 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 25 Jun 2003 09:50:14 GMT