Forum Stats

  • 3,837,210 Users
  • 2,262,237 Discussions
  • 7,900,223 Comments

Discussions

Activating an image scanner.

843853
843853 Member Posts: 3,739
edited Sep 23, 2003 9:40AM in Java Programming
I am writing an application and need to activate an image scanner from the program using a button built into the program.Could someone please let me know how to achieve this.Thanks

Comments

  • 843853
    843853 Member Posts: 3,739
    You can try the Java Twain from http://www.gnome.sk
    Nowadays, this product is going to be replaced with the Morena - Image Acquisition Framework for Java(tm) Platform .
    Both in Java Twain and in Morena there is a tutorial which will help you much to try out your camera or scanner from java application whithin few minutes.
    As for activating an image scanner from the program using a button built into the program, get inspired by the code of the example WebStartUpload.java from the JavaTwain (Morena) package.

    Erika
  • 843853
    843853 Member Posts: 3,739
    I am writing an application and need to activate an
    image scanner from the program using a button built
    into the program.Could someone please let me know how
    to achieve this.Thanks
    Hi,

    You can try a package named: JTwain, which is available at http://asprise.com/product/jtwain.

    JTwain supports all kinds of digital cameras and scanners. You can use Java to access, contorl digital cameras and scanners, and of course, to acquire images with flexible settings.

    The developers' guide is available @ http://asprise.com/product/jtwain/devGuide.php

    In the simplest case, one line of Java code can solve your problem.

    Good luck!
This discussion has been closed.