1
0
Fork 0
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:
Brendan Dahl 2012-04-16 11:34:00 -07:00
parent f0f0418a9c
commit 4616ee0ee8

View file

@ -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;
}