Merge pull request #1550 from brendandahl/erroronjbig2
Error on jbig2. Add 'RL' abbreviation for run length decode.
This commit is contained in:
commit
e014b62ba7
@ -249,9 +249,12 @@ var Parser = (function ParserClosure() {
|
|||||||
if (name == 'CCITTFaxDecode' || name == 'CCF') {
|
if (name == 'CCITTFaxDecode' || name == 'CCF') {
|
||||||
return new CCITTFaxStream(stream, params);
|
return new CCITTFaxStream(stream, params);
|
||||||
}
|
}
|
||||||
if (name == 'RunLengthDecode') {
|
if (name == 'RunLengthDecode' || name == 'RL') {
|
||||||
return new RunLengthStream(stream);
|
return new RunLengthStream(stream);
|
||||||
}
|
}
|
||||||
|
if (name == 'JBIG2Decode') {
|
||||||
|
error('JBIG2 image format is not currently supprted.');
|
||||||
|
}
|
||||||
warn('filter "' + name + '" not supported yet');
|
warn('filter "' + name + '" not supported yet');
|
||||||
return stream;
|
return stream;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user