Show error on JBIG2 images.
This commit is contained in:
parent
f0f0418a9c
commit
4616ee0ee8
@ -252,6 +252,9 @@ var Parser = (function ParserClosure() {
|
||||
if (name == 'RunLengthDecode') {
|
||||
return new RunLengthStream(stream);
|
||||
}
|
||||
if (name == 'JBIG2Decode') {
|
||||
error('JBIG2 image format is not currently supprted.');
|
||||
}
|
||||
warn('filter "' + name + '" not supported yet');
|
||||
return stream;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user