Exporting Dia Diagrams to PNG from the Command Line

Written by James McDonald

November 9, 2010

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 them afterwards to do a second pass to save bigger diagrams in a different size.

Thanks for this option, Dia developers!

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...

PC Build

I recently built myself a PC using the SilverStone SG13 Case. I am planning to use it as a Hot Spare. So any client...