gscan2pdf uses pdfimages to extract the images. pdfimages supports
supplying a password, so this is doable.

Do you know of a command-line tool with which I can build a PDF with a
password, or at least add a password to an existing PDF? I'd want to
create a unit test, and I'd rather build the PDF on the fly rather than
storing the binary in the source.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to