com.sun.jimi.core.decoder.pict
Class PICTDecoder

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

public class PICTDecoder
extends JimiDecoderBase

The size of a data field includes the 2 byte size field itself. This is a simple decoder and is only setup to load a single image from the input stream


Field Summary
static int PICT_9A
           
static int PICT_BITSRECT
           
static int PICT_BITSRGN
           
static int PICT_CLIP_RGN
          Just the opcodes we care about at the moment
static int PICT_END
           
static int PICT_HEADER
           
static int PICT_LONGCOMMENT
           
static int PICT_PACKBITSRECT
           
static int PICT_PACKBITSRGN
           
 
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
PICTDecoder()
           
 
Method Summary
 boolean driveDecoder()
           
 void freeDecoder()
           
 AdaptiveRasterImage getJimiImage()
           
 int getState()
           
 void initDecoder(java.io.InputStream in, AdaptiveRasterImage ji)
           
 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
 

Field Detail

PICT_CLIP_RGN

public static final int PICT_CLIP_RGN
Just the opcodes we care about at the moment

PICT_BITSRECT

public static final int PICT_BITSRECT

PICT_BITSRGN

public static final int PICT_BITSRGN

PICT_PACKBITSRECT

public static final int PICT_PACKBITSRECT

PICT_PACKBITSRGN

public static final int PICT_PACKBITSRGN

PICT_9A

public static final int PICT_9A

PICT_HEADER

public static final int PICT_HEADER

PICT_END

public static final int PICT_END

PICT_LONGCOMMENT

public static final int PICT_LONGCOMMENT
Constructor Detail

PICTDecoder

public PICTDecoder()
Method Detail

initDecoder

public void initDecoder(java.io.InputStream in,
                        AdaptiveRasterImage ji)
                 throws JimiException
Overrides:
initDecoder in class JimiDecoderBase

driveDecoder

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

freeDecoder

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

getState

public int getState()
Overrides:
getState in class JimiDecoderBase

getJimiImage

public AdaptiveRasterImage getJimiImage()

usesChanneledData

public boolean usesChanneledData()
Overrides:
usesChanneledData in class JimiDecoderBase