1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Adds cmyk jpg support. Treats the cmyk jpg as a regular stream.

This commit is contained in:
Brendan Dahl 2011-11-08 08:48:10 -08:00
parent 234ec25351
commit 9bb2b881b0
8 changed files with 47 additions and 18 deletions

View file

@ -546,7 +546,7 @@ var PDFDoc = (function pdfDoc() {
switch (type) {
case 'JpegStream':
var IR = data[2];
new JpegImage(id, IR, this.objs);
new JpegImageLoader(id, IR, this.objs);
break;
case 'Font':
var name = data[2];