com.sun.jimi.core.decoder.sunraster
Class SunRasterDecoder

java.lang.Object
  |
  +--com.sun.jimi.core.util.ProgressMonitorSupport
        |
        +--com.sun.jimi.core.compat.JimiDecoderBase
              |
              +--com.sun.jimi.core.decoder.sunraster.SunRasterDecoder

public class SunRasterDecoder
extends JimiDecoderBase

Issues :

  1. What the hell is a RAW color map? Do we support this? Our docs say it is any color map not definied by the SunRaster format!


Fields inherited from class com.sun.jimi.core.compat.JimiDecoderBase
busyDecoding, cleanupCommands, currentController, currentHandle, decodingLock, error, ERROR, factory, finishedDecoding, IMAGEAVAIL, INFOAVAIL, input, jimiImage, MOREIMAGES, MULTIIMAGE, UNKNOWNCOUNT
 
Fields inherited from class com.sun.jimi.core.util.ProgressMonitorSupport
currentProgressLevel, progressListener
 
Constructor Summary
SunRasterDecoder()
           
 
Method Summary
 boolean driveDecoder()
           
 void freeDecoder()
           
 AdaptiveRasterImage getJimiImage()
           
 int getState()
           
 void initDecoder(java.io.InputStream in, AdaptiveRasterImage ji)
          Initialize this decoder.
protected  void RLEDecodeImage()
           
 boolean usesChanneledData()
           
 
Methods inherited from class com.sun.jimi.core.compat.JimiDecoderBase
addCleanupCommand, createAdaptiveRasterImage, createAdaptiveRasterImage, decodeNextImage, finishedDecode, getCapabilities, getNumberOfImages, initDecoding, jimiImageCreated, mustWaitForOptions, run, setFinished, skipImage, waitReady
 
Methods inherited from class com.sun.jimi.core.util.ProgressMonitorSupport
setProgress, setProgressListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SunRasterDecoder

public SunRasterDecoder()
Method Detail

initDecoder

public void initDecoder(java.io.InputStream in,
                        AdaptiveRasterImage ji)
                 throws JimiException
Initialize this decoder.
Parameters:
in - The source of the encoded image data
ji - The data structure that will hold the image data produced
Overrides:
initDecoder in class JimiDecoderBase

freeDecoder

public void freeDecoder()
                 throws JimiException
Overrides:
freeDecoder in class JimiDecoderBase

driveDecoder

public boolean driveDecoder()
                     throws JimiException
Overrides:
driveDecoder in class JimiDecoderBase

getState

public int getState()
Overrides:
getState in class JimiDecoderBase

getJimiImage

public AdaptiveRasterImage getJimiImage()

RLEDecodeImage

protected void RLEDecodeImage()
                       throws java.io.IOException,
                              JimiException

usesChanneledData

public boolean usesChanneledData()
Overrides:
usesChanneledData in class JimiDecoderBase