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 :
- 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 |
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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SunRasterDecoder
public SunRasterDecoder()
initDecoder
public void initDecoder(java.io.InputStream in,
AdaptiveRasterImage ji)
throws JimiException
- Initialize this decoder.
- Parameters:
in
- The source of the encoded image dataji
- 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