From 10a8b4c99185c41ff50b95c056f1f6322a489b71 Mon Sep 17 00:00:00 2001 From: lhark Date: Fri, 27 Aug 2021 20:19:02 +0200 Subject: [PATCH] lossless img to pdf --- how_to | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/how_to b/how_to index 2acd1ce..2fb3d9d 100644 --- a/how_to +++ b/how_to @@ -234,6 +234,9 @@ PDF : convert [jpg|png|txt|pdf|...] output.pdf # Might need to tweak /etc/ImageMagick-7/policy.xml # https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion + Create pdf from images losslessly: + pacman -S img2pdf + img2pdf -o Fill form & annotate: For well formatted interactive forms: evince @@ -245,6 +248,7 @@ PDF : inkscape Batch mode with pdftk: # http://www.myown1.com/linux/pdf_formfill.shtml + # https://blog.nemirwen.me/posts/batch-pdf-form-filling Finding the fields: # pdftk needs java-commons-lang pdftk form.pdf dump_data_fields_utf8 > fields.flds