Size: 467
Comment: Converting PNGs/etc to PDF
|
← Revision 3 as of 2014-11-24 20:52:41 ⇥
Size: 701
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
# Might want to consider using -normalize, -auto-gamma, -contrast-stretch, etc convert $NAME*png -auto-level tmp.pdf |
# Might want to consider using -normalize, -auto-level, -auto-gamma, -contrast-stretch '10%', etc. Enhances for greyscale documents convert $NAME*png -level '15%,75%' -auto-level tmp.pdf |
Line 14: | Line 14: |
== Convert PDF to PNG == {{{#!highlight sh # 150 dpi (default) pdftoppm -png file.pdf prefix # 300 dpi pdftoppm -rx 300 -ry 300 -png file.pdf prefix }}} |
Convert PNGs to PDF (optimize for size)
Useful information: