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:
parent
234ec25351
commit
9bb2b881b0
8 changed files with 47 additions and 18 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue