mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 17:18:07 +02:00
working implementation of png and tiff predictors
This commit is contained in:
parent
3b38313b7a
commit
7a3cdcdd06
1 changed files with 3 additions and 2 deletions
5
pdf.js
5
pdf.js
|
@ -539,8 +539,9 @@ var JpegStream = (function() {
|
|||
}
|
||||
|
||||
constructor.prototype = {
|
||||
// Needed to pass IsStream test
|
||||
getChar: function() {
|
||||
},
|
||||
},
|
||||
|
||||
getImage: function() {
|
||||
return this.domImage;
|
||||
|
@ -3022,7 +3023,7 @@ var CanvasGraphics = (function() {
|
|||
var smask = image.dict.get("SMask");
|
||||
smask = xref.fetchIfRef(smask);
|
||||
|
||||
if (smask) {
|
||||
if (IsStream(smask)) {
|
||||
if (inline)
|
||||
error("cannot combine smask and inlining");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue