File tree 4 files changed +21
-13
lines changed
4 files changed +21
-13
lines changed Original file line number Diff line number Diff line change @@ -579,7 +579,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
579
579
return this . _sendImgData ( objId , imgData , cacheGlobally ) ;
580
580
} )
581
581
. catch ( reason => {
582
- warn ( " Unable to decode image: " + reason ) ;
582
+ warn ( ` Unable to decode image " ${ objId } ": " ${ reason } ".` ) ;
583
583
584
584
return this . _sendImgData ( objId , /* imgData = */ null , cacheGlobally ) ;
585
585
} ) ;
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ var PDFImage = (function PDFImageClosure() {
248
248
* Handles processing of image data and returns the Promise that is resolved
249
249
* with a PDFImage when the image is ready to be used.
250
250
*/
251
- PDFImage . buildImage = function ( {
251
+ PDFImage . buildImage = async function ( {
252
252
xref,
253
253
res,
254
254
image,
@@ -271,17 +271,16 @@ var PDFImage = (function PDFImageClosure() {
271
271
warn ( "Unsupported mask format." ) ;
272
272
}
273
273
}
274
- return Promise . resolve (
275
- new PDFImage ( {
276
- xref,
277
- res,
278
- image : imageData ,
279
- isInline,
280
- smask : smaskData ,
281
- mask : maskData ,
282
- pdfFunctionFactory,
283
- } )
284
- ) ;
274
+
275
+ return new PDFImage ( {
276
+ xref,
277
+ res,
278
+ image : imageData ,
279
+ isInline,
280
+ smask : smaskData ,
281
+ mask : maskData ,
282
+ pdfFunctionFactory,
283
+ } ) ;
285
284
} ;
286
285
287
286
PDFImage . createMask = function ( {
Original file line number Diff line number Diff line change
1
+ https://web.archive.org/web/20151201202008/https://secure.dynaccount.com/data/voucher/30000/400/30452_93e074c4c8b2301a24b33176331c49e5755e02fa.pdf
Original file line number Diff line number Diff line change 669
669
"lastPage" : 1 ,
670
670
"type" : " eq"
671
671
},
672
+ { "id" : " issue6707" ,
673
+ "file" : " pdfs/issue6707.pdf" ,
674
+ "md5" : " 068ceaec23d265b1d38dfa6ab279f017" ,
675
+ "rounds" : 1 ,
676
+ "link" : true ,
677
+ "lastPage" : 1 ,
678
+ "type" : " eq"
679
+ },
672
680
{ "id" : " issue6721_reduced" ,
673
681
"file" : " pdfs/issue6721_reduced.pdf" ,
674
682
"md5" : " 719aa66d8081a15e3ba6032ed4279237" ,
You can’t perform that action at this time.
0 commit comments