mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 12:05:29 -04:00
CCITT EncodedByteAlign now default for RLE, always overridable.
This commit is contained in:
parent
b3b06dff4a
commit
d564a6b338
@ -72,7 +72,8 @@ final class CCITTFaxDecoderStream extends FilterInputStream {
|
||||
|
||||
/**
|
||||
* Creates a CCITTFaxDecoderStream.
|
||||
* This is used for CCITT streams from PDF files, which use EncodedByteAlign.
|
||||
* This constructor may be used for CCITT streams embedded in PDF files,
|
||||
* which use EncodedByteAlign.
|
||||
*
|
||||
* @param stream the compressed CCITT stream.
|
||||
* @param columns the number of columns in the stream.
|
||||
@ -144,7 +145,7 @@ final class CCITTFaxDecoderStream extends FilterInputStream {
|
||||
*/
|
||||
public CCITTFaxDecoderStream(final InputStream stream, final int columns, final int type, final int fillOrder,
|
||||
final long options) {
|
||||
this(stream, columns, type, fillOrder, options, false);
|
||||
this(stream, columns, type, fillOrder, options, type == TIFFBaseline.COMPRESSION_CCITT_MODIFIED_HUFFMAN_RLE);
|
||||
}
|
||||
|
||||
private void fetch() throws IOException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user