com.twainconnect.io.imp
Class TwainConnectImageLoaderImp

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

public class TwainConnectImageLoaderImp
extends java.lang.Object
implements ImageLoader

Proprietary class in order to make the architectural footprint even smaller. Performance and scalability may not be as strong as the Java IO counterparts but the size and complexity of the jar and deployment is reduced. There is no need to deploy the separate Java Imaging Jars with your client installation. Only supports 8 and 24 bit bitmaps pure black and white images need to be converted first.

Since:
3.0
Version:
3.0
Author:
jimageconnect.com

Nested Class Summary
(package private) static class TwainConnectImageLoaderImp.BitmapHeader
          Internal class representing a bitmap header structure with code to read it from a file
 
Constructor Summary
TwainConnectImageLoaderImp()
           
 
Method Summary
 java.awt.image.BufferedImage load(java.lang.Object o)
          Uses a File object to load the image
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwainConnectImageLoaderImp

public TwainConnectImageLoaderImp()
Method Detail

load

public java.awt.image.BufferedImage load(java.lang.Object o)
                                  throws TwainConnectException
Uses a File object to load the image

Specified by:
load in interface ImageLoader
Parameters:
o - File object
Returns:
BufferedImage
Throws:
TwainConnectException