File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -746,7 +746,12 @@ class PDFImage {
746
746
}
747
747
return imgData ;
748
748
}
749
- if ( this . image instanceof JpegStream && ! this . smask && ! this . mask ) {
749
+ if (
750
+ this . image instanceof JpegStream &&
751
+ ! this . smask &&
752
+ ! this . mask &&
753
+ ! this . needsDecode
754
+ ) {
750
755
let imageLength = originalHeight * rowBytes ;
751
756
if ( isOffscreenCanvasSupported && ! mustBeResized ) {
752
757
let isHandled = false ;
Original file line number Diff line number Diff line change
1
+ https://github.com/mozilla/pdf.js/files/11412207/issue16395.pdf
Original file line number Diff line number Diff line change 41
41
"lastPage" : 2 ,
42
42
"type" : " eq"
43
43
},
44
+ { "id" : " issue16395" ,
45
+ "file" : " pdfs/issue16395.pdf" ,
46
+ "md5" : " a5de985711ec27cd2a2ed97d5f1c536c" ,
47
+ "rounds" : 1 ,
48
+ "link" : true ,
49
+ "firstPage" : 3 ,
50
+ "lastPage" : 3 ,
51
+ "type" : " eq"
52
+ },
44
53
{ "id" : " tracemonkey-fbf" ,
45
54
"file" : " pdfs/tracemonkey.pdf" ,
46
55
"md5" : " 9a192d8b1a7dc652a19835f6f08098bd" ,
You can’t perform that action at this time.
0 commit comments