Toggen Blog

Tech tips

Articles

Latest

Access

Blog History

Exporting Dia Diagrams to PNG from the Command Line

A post from the Dia mailing list: I was asked to deliver some diagrams Dia diagrams I did, in PNG format. I just would imagine the nightmare it would have been to do this under "other" diagramming tools. for D in *.dia; do dia -t png -s 1024x $D; done I just checked...

Reducing the size of a massive PDF so you can email it

Just joined a heap of PDF files with pdftk output*.pdf cat output nov2010.pdf and got a 19.5MB PDF file. From here found a working solution to reduce the size of the PDF. gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH...