mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Less copying in the JPX coder, merged and rebased
This commit is contained in:
parent
3940dc5a41
commit
04602c8a5e
3 changed files with 148 additions and 174 deletions
|
@ -59,7 +59,6 @@ var PDFImage = (function PDFImageClosure() {
|
|||
if (dict.has('Filter')) {
|
||||
var filter = dict.get('Filter').name;
|
||||
if (filter === 'JPXDecode') {
|
||||
info('get image params from JPX stream');
|
||||
var jpxImage = new JpxImage();
|
||||
jpxImage.parseImageProperties(image.stream);
|
||||
image.stream.reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue