Class RLE8Decoder
java.lang.Object
com.twelvemonkeys.imageio.plugins.bmp.AbstractRLEDecoder
com.twelvemonkeys.imageio.plugins.bmp.RLE8Decoder
- All Implemented Interfaces:
Decoder
Implements 8 bit RLE decoding as specified by in the Windows BMP (aka DIB) file format.
- Version:
- $Id: RLE8Decoder.java#1 $
-
Field Summary
Fields inherited from class com.twelvemonkeys.imageio.plugins.bmp.AbstractRLEDecoder
bitsPerSample, dstX, dstY, row, srcX, srcY, width
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
decodeRow
(InputStream stream) Decodes one full row of image data.Methods inherited from class com.twelvemonkeys.imageio.plugins.bmp.AbstractRLEDecoder
checkEOF, decode
-
Constructor Details
-
RLE8Decoder
public RLE8Decoder(int width)
-
-
Method Details
-
decodeRow
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:
IOException
- if an I/O related exception occurs while reading
-