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 *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…