mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Initial JBIG2 code
This commit is contained in:
parent
2aae4fd001
commit
95bc99f698
5 changed files with 561 additions and 1 deletions
|
@ -253,7 +253,8 @@ var Parser = (function ParserClosure() {
|
|||
return new RunLengthStream(stream);
|
||||
}
|
||||
if (name == 'JBIG2Decode') {
|
||||
error('JBIG2 image format is not currently supprted.');
|
||||
var bytes = stream.getBytes(length);
|
||||
return new Jbig2Stream(bytes, stream.dict);
|
||||
}
|
||||
warn('filter "' + name + '" not supported yet');
|
||||
return stream;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue