1
0
Fork 0
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:
fkaelberer 2014-04-16 10:40:04 +02:00
parent 3940dc5a41
commit 04602c8a5e
3 changed files with 148 additions and 174 deletions

View file

@ -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();