-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
While adding an external pdf with new pdfjs.ExternalDocument(buffer);
I am getting the error:
Error: Unsupported PNG filter 3
at pngFilter (util.js:102:13)
at exports.inflate (util.js:77:11)
at PDFXref.parseXrefObject (xref.js:126:25)
at PDFXref.parse (xref.js:74:19)
at Parser.parse (parser.js:47:29)
at new ExternalDocument (external.js:25:12)
at generatePDF (generatePDF.ts:165:17)
Looking at util.js
I see it only supports filter type 2. According to the PNG specification there are 4 filter types.
Is there any chance of getting filter type 3 supported - or all of them?
I'm sorry I cannot provide the pdf source file which is causing this issue due to confidentiality.
Metadata
Metadata
Assignees
Labels
No labels