mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Fixing names.
This commit is contained in:
parent
3b2d7ed66d
commit
2c49cab3a1
4 changed files with 276 additions and 268 deletions
|
@ -15,7 +15,7 @@ var PDFImage = (function PDFImageClosure() {
|
|||
var colorSpace = dict.get('ColorSpace', 'CS');
|
||||
colorSpace = ColorSpace.parse(colorSpace, xref, res);
|
||||
var numComps = colorSpace.numComps;
|
||||
handler.send('jpeg_decode', [image.getIR(), numComps], function(message) {
|
||||
handler.send('JpegDecode', [image.getIR(), numComps], function(message) {
|
||||
var data = message.data;
|
||||
var stream = new Stream(data, 0, data.length, image.dict);
|
||||
promise.resolve(stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue