public class ILBMDecoder extends java.lang.Object implements IFFVisitor
| Modifier and Type | Field and Description |
|---|---|
protected static int |
A2024_MONITOR_ID |
protected java.util.ArrayList<BitmapImage> |
bitmapSources |
protected static int |
BMHD_ID |
protected int |
bmhdCompression |
protected int |
bmhdHeight |
protected int |
bmhdMasking |
protected int |
bmhdNbPlanes |
protected int |
bmhdPageHeight |
protected int |
bmhdPageWidth |
protected int |
bmhdTransparentColor |
protected int |
bmhdWidth |
protected int |
bmhdXAspect |
protected int |
bmhdXPosition |
protected int |
bmhdYAspect |
protected int |
bmhdYPosition |
protected static int |
BODY_ID |
protected BitmapImage |
bodyBitmap |
protected int |
camg |
protected static int |
CAMG_ID |
protected int |
camgMode |
protected static int |
CCRT_ID |
protected static int |
CMAP_ID |
protected java.awt.image.ColorModel |
cmapColorModel |
protected static int |
CMP_BYTE_RUN_1 |
protected static int |
CMP_NONE |
protected static int |
CMP_VERTICAL |
protected static int |
CRNG_ID |
protected static int |
DBLNTSC_MONITOR_ID |
protected static int |
DBLPAL_MONITOR_ID |
protected static int |
DEFAULT_MONITOR_ID |
protected static int |
DRNG_ID |
protected static int |
EHB_MASK |
protected static int |
EURO36_MONITOR_ID |
protected static int |
EURO72_MONITOR_ID |
protected static int |
EXTRAHALFBRITE_KEY |
protected static int |
HAM_KEY |
protected static int |
HAM_MASK |
protected static int |
ILBM_ID |
protected java.io.InputStream |
inputStream |
protected java.net.URL |
location |
protected static int |
MODE_DIRECT_COLORS |
protected static int |
MODE_EHB |
protected static int |
MODE_HAM6 |
protected static int |
MODE_HAM8 |
protected static int |
MODE_INDEXED_COLORS |
protected static int |
MONITOR_ID_MASK |
protected static int |
MSK_HAS_MASK |
protected static int |
MSK_HAS_TRANSPARENT_COLOR |
protected static int |
MSK_LASSO |
protected static int |
MSK_NONE |
protected static int |
NTSC_MONITOR_ID |
protected static int |
PAL_MONITOR_ID |
protected java.util.Hashtable |
properties |
protected static int |
PROTO_MONITOR_ID |
protected java.util.ArrayList<ColorCyclingMemoryImageSource> |
sources |
protected static int |
SUPER72_MONITOR_ID |
protected static int |
VDAT_ID |
protected static int |
VGA_MONITOR_ID |
| Constructor and Description |
|---|
ILBMDecoder(java.io.InputStream in) |
ILBMDecoder(java.net.URL location) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decodeBMHD(IFFChunk chunk) |
protected void |
decodeBODY(IFFChunk chunk) |
protected void |
decodeCAMG(IFFChunk chunk) |
protected ColorCycle |
decodeCCRT(IFFChunk chunk) |
protected void |
decodeCMAP(IFFChunk chunk,
boolean is4BitsPerChannel) |
protected ColorCycle |
decodeCRNG(IFFChunk chunk) |
protected ColorCycle |
decodeDRNG(IFFChunk chunk) |
void |
enterGroup(IFFChunk chunk) |
void |
leaveGroup(IFFChunk chunk) |
java.util.ArrayList<ColorCyclingMemoryImageSource> |
produce() |
java.util.ArrayList<BitmapImage> |
produceBitmaps() |
void |
registerChunks(IFFParser iff) |
static int |
unpackByteRun1(byte[] in,
byte[] out) |
void |
unpackVertical(byte[] in,
BitmapImage bm) |
void |
visitChunk(IFFChunk group,
IFFChunk chunk) |
protected static final int ILBM_ID
protected static final int BMHD_ID
protected static final int CMAP_ID
protected static final int CAMG_ID
protected static final int CCRT_ID
protected static final int CRNG_ID
protected static final int DRNG_ID
protected static final int BODY_ID
protected static final int VDAT_ID
protected static final int MONITOR_ID_MASK
protected static final int DEFAULT_MONITOR_ID
protected static final int NTSC_MONITOR_ID
protected static final int PAL_MONITOR_ID
protected static final int VGA_MONITOR_ID
protected static final int A2024_MONITOR_ID
protected static final int PROTO_MONITOR_ID
protected static final int EURO72_MONITOR_ID
protected static final int EURO36_MONITOR_ID
protected static final int SUPER72_MONITOR_ID
protected static final int DBLNTSC_MONITOR_ID
protected static final int DBLPAL_MONITOR_ID
protected static final int MODE_INDEXED_COLORS
protected static final int MODE_DIRECT_COLORS
protected static final int MODE_EHB
protected static final int MODE_HAM6
protected static final int MODE_HAM8
protected static final int HAM_MASK
protected static final int EHB_MASK
protected static final int HAM_KEY
protected static final int EXTRAHALFBRITE_KEY
protected static final int MSK_NONE
protected static final int MSK_HAS_MASK
protected static final int MSK_HAS_TRANSPARENT_COLOR
protected static final int MSK_LASSO
protected static final int CMP_NONE
protected static final int CMP_BYTE_RUN_1
protected static final int CMP_VERTICAL
protected java.io.InputStream inputStream
protected java.net.URL location
protected java.util.ArrayList<ColorCyclingMemoryImageSource> sources
protected java.util.ArrayList<BitmapImage> bitmapSources
protected java.util.Hashtable properties
protected int bmhdWidth
protected int bmhdHeight
protected int bmhdXPosition
protected int bmhdYPosition
protected int bmhdNbPlanes
protected int bmhdMasking
protected int bmhdCompression
protected int bmhdTransparentColor
protected int bmhdXAspect
protected int bmhdYAspect
protected int bmhdPageWidth
protected int bmhdPageHeight
protected int camg
protected int camgMode
protected java.awt.image.ColorModel cmapColorModel
protected BitmapImage bodyBitmap
public ILBMDecoder(java.io.InputStream in)
public ILBMDecoder(java.net.URL location)
public java.util.ArrayList<ColorCyclingMemoryImageSource> produce() throws java.io.IOException
java.io.IOExceptionpublic java.util.ArrayList<BitmapImage> produceBitmaps() throws java.io.IOException
java.io.IOExceptionpublic void registerChunks(IFFParser iff)
public void enterGroup(IFFChunk chunk)
enterGroup in interface IFFVisitorpublic void leaveGroup(IFFChunk chunk)
leaveGroup in interface IFFVisitorpublic void visitChunk(IFFChunk group, IFFChunk chunk) throws ParseException, AbortException
visitChunk in interface IFFVisitorParseExceptionAbortExceptionprotected void decodeBMHD(IFFChunk chunk) throws ParseException
ParseExceptionprotected void decodeCAMG(IFFChunk chunk) throws ParseException
ParseExceptionprotected void decodeCMAP(IFFChunk chunk, boolean is4BitsPerChannel) throws ParseException
ParseExceptionprotected ColorCycle decodeCCRT(IFFChunk chunk) throws ParseException
ParseExceptionprotected ColorCycle decodeCRNG(IFFChunk chunk) throws ParseException
ParseExceptionprotected ColorCycle decodeDRNG(IFFChunk chunk) throws ParseException
ParseExceptionprotected void decodeBODY(IFFChunk chunk) throws ParseException
ParseExceptionpublic static int unpackByteRun1(byte[] in,
byte[] out)
throws ParseException
ParseExceptionpublic void unpackVertical(byte[] in,
BitmapImage bm)
throws ParseException
ParseExceptionCopyright © 2022. All Rights Reserved.