mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Migration of the JPX code (from jpx5)
This commit is contained in:
parent
93bb2cf0d3
commit
93ca387d1b
6 changed files with 1905 additions and 1 deletions
|
@ -240,6 +240,10 @@ var Parser = (function ParserClosure() {
|
|||
var bytes = stream.getBytes(length);
|
||||
return new JpegStream(bytes, stream.dict, this.xref);
|
||||
}
|
||||
if (name == 'JPXDecode' || name == 'JPX') {
|
||||
var bytes = stream.getBytes(length);
|
||||
return new JpxStream(bytes, stream.dict);
|
||||
}
|
||||
if (name == 'ASCII85Decode' || name == 'A85') {
|
||||
return new Ascii85Stream(stream);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue