diff --git a/src/parser.js b/src/parser.js index 1c50d0f5f..0697fc0d5 100644 --- a/src/parser.js +++ b/src/parser.js @@ -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; }