com.ngs.image.source
Class JAITiffTranslucentSource

java.lang.Object
  extended by com.ngs.image.ImageSource
      extended by com.ngs.image.source.DefaultThumbnailSource
          extended by com.ngs.image.source.JAIImageSource
              extended by com.ngs.image.source.JAITiffImageSource
                  extended by com.ngs.image.source.JAITiffTranslucentSource

public class JAITiffTranslucentSource
extends JAITiffImageSource

An ImageSource that reads TIFF images, uses an IndexedColorModel with valid values for Black and White, where White pixels are TRANSPARENT. This lets you read B&W TIFF images, and do some advanced things with compositing.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ngs.image.source.JAIImageSource
JAIImageSource.ImagePage
 
Constructor Summary
protected JAITiffTranslucentSource()
           
  JAITiffTranslucentSource(File f)
           
  JAITiffTranslucentSource(InputStream stream, String name)
           
 
Method Summary
 
Methods inherited from class com.ngs.image.source.JAITiffImageSource
addRenderingHints, open, open, readStream
 
Methods inherited from class com.ngs.image.source.JAIImageSource
cachePage, close, dispose, getImage, getImageCount, getImageName, open, setPreScale
 
Methods inherited from class com.ngs.image.source.DefaultThumbnailSource
getThumbnail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAITiffTranslucentSource

protected JAITiffTranslucentSource()

JAITiffTranslucentSource

public JAITiffTranslucentSource(File f)
                         throws IOException
Throws:
IOException

JAITiffTranslucentSource

public JAITiffTranslucentSource(InputStream stream,
                                String name)
                         throws IOException
Throws:
IOException