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 {
746746 }
747747 return imgData ;
748748 }
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+ ) {
750755 let imageLength = originalHeight * rowBytes ;
751756 if ( isOffscreenCanvasSupported && ! mustBeResized ) {
752757 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 4141 "lastPage" : 2 ,
4242 "type" : " eq"
4343 },
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+ },
4453 { "id" : " tracemonkey-fbf" ,
4554 "file" : " pdfs/tracemonkey.pdf" ,
4655 "md5" : " 9a192d8b1a7dc652a19835f6f08098bd" ,
You can’t perform that action at this time.
0 commit comments