com.twainconnect.io.imp
Class BmpMemoryLoader

java.lang.Object
  extended by com.twainconnect.io.imp.BmpMemoryLoader
All Implemented Interfaces:
ImageLoader

public class BmpMemoryLoader
extends java.lang.Object
implements ImageLoader

Since:
3.0
Version:
3.0
Author:
jimageconnect.com

Constructor Summary
BmpMemoryLoader()
           
 
Method Summary
 java.awt.image.BufferedImage load(java.lang.Object o)
          Assuming an Image interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BmpMemoryLoader

public BmpMemoryLoader()
Method Detail

load

public java.awt.image.BufferedImage load(java.lang.Object o)
                                  throws TwainConnectException
Assuming an Image interface

Specified by:
load in interface ImageLoader
Parameters:
o - where the TWAIN image file is located
Returns:
The acquired image found on the file system is now loaded into Java as a BufferedImage. The image from TWAIN is a Bitmap on the WIN32 platform and thus needs an external transformation to make TWAIN and Java meet.
Throws:
TwainConnectException