mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Show error on JBIG2 images.
This commit is contained in:
parent
f0f0418a9c
commit
4616ee0ee8
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue