- Topics - 3
- Replies - 13
- Total Posts - 16
I am using the following code with JTwain to try to set the DPI to 499 x 499 but the resulting scanned image has 96 x 96 DPI. How can I set the resolution?
Try the following code from Morena – Image Acquisition Framework for Java (http://www.gnome.sk):
MorenaImage image=new MorenaImage(source);
System.err.println("Size of acquired image is "+
+image.getWidth()+" x "
+image.getHeight()+" x "
You can also run TwainAutomatedTest.java (test.bat, test.sh located at the examples directory of the distribution package). It will write all supported capabilities of your Twain driver to the twainAutomatedTest.txt file. You can see there for the interval of the supported resolutions.
Member of Gnome’s technical support