Browse Source

lossless img to pdf

master
lhark 4 years ago
parent
commit
10a8b4c991
  1. 4
      how_to

4
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 <out.pdf> <in1.jpg..inN.jpg>
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

Loading…
Cancel
Save