mxochicale / figures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add options to template-vector-images/

mxochicale opened this issue · comments

in the Makefile or as a bash script, for https://github.com/mxochicale/images/tree/master/template-vector-images, add:

pdf reduction file size

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
-dPDFSETTINGS=/screen lower quality, smaller size. (72 dpi)
-dPDFSETTINGS=/ebook for better quality, but slightly larger pdfs. (150 dpi)
-dPDFSETTINGS=/prepress output similar to Acrobat Distiller "Prepress Optimized" setting (300 dpi)
-dPDFSETTINGS=/printer selects output similar to the Acrobat Distiller "Print Optimized" setting (300 dpi)
-dPDFSETTINGS=/default selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file

🔗

add versioning

mv /versions/drawing.png /versions/drawing-v00.png