CCITT EncodedByteAlign now default for RLE, always overridable.

+ test case provided by @Schmidor
This commit is contained in:
Harald Kuhr
2018-01-17 18:13:22 +01:00
parent d564a6b338
commit a5471ef4c4
2 changed files with 20 additions and 3 deletions
@@ -106,7 +106,7 @@ final class CCITTFaxDecoderStream extends FilterInputStream {
switch (type) {
case TIFFBaseline.COMPRESSION_CCITT_MODIFIED_HUFFMAN_RLE:
optionByteAligned = true;
optionByteAligned = byteAligned;
optionG32D = false;
optionG3Fill = false;
optionUncompressed = false;