galkahana / HummusJS

Node.js module for high performance creation, modification and parsing of PDF files and streams
http://www.pdfhummus.com
Other
1.15k stars 169 forks source link

It removes some digital signatures #363

Closed raminious closed 2 years ago

raminious commented 5 years ago

I'm using this library to select some pages from the existing file and create a new pdf based on that file.
I just figured out it removes some digital signatures.

Main pdf:
image

Generated pdf:
image

(please see the seller field)

Is there any workaround? I could find nothing in the documents.

raminious commented 5 years ago

this is the file

file.pdf

raminious commented 5 years ago

I have to replace this tool with something else.

raminious commented 5 years ago

Ok, now I'm using qpdf and my problem is resolved.

leungster commented 5 years ago

I was having a similar issue and noticed annotations don't get copied when appending pages. This sample handles the use case.