Class RLE4Decoder
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.bmp.AbstractRLEDecoder
-
- com.twelvemonkeys.imageio.plugins.bmp.RLE4Decoder
-
- All Implemented Interfaces:
Decoder
final class RLE4Decoder extends AbstractRLEDecoder
Implements 4 bit RLE decoding as specified by in the Windows BMP (aka DIB) file format.- Version:
- $Id: RLE4Decoder.java#1 $
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static int[]
BIT_MASKS
(package private) static int[]
BIT_SHIFTS
-
Fields inherited from class com.twelvemonkeys.imageio.plugins.bmp.AbstractRLEDecoder
bitsPerSample, dstX, dstY, row, srcX, srcY, width
-
-
Constructor Summary
Constructors Constructor Description RLE4Decoder(int width)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
decodeRow(java.io.InputStream stream)
Decodes one full row of image data.-
Methods inherited from class com.twelvemonkeys.imageio.plugins.bmp.AbstractRLEDecoder
checkEOF, decode
-
-
-
-
Method Detail
-
decodeRow
protected void decodeRow(java.io.InputStream stream) throws java.io.IOException
Description copied from class:AbstractRLEDecoder
Decodes one full row of image data.- Specified by:
decodeRow
in classAbstractRLEDecoder
- Parameters:
stream
- the input stream containing RLE data- Throws:
java.io.IOException
- if an I/O related exception occurs while reading
-
-