Dan Bolser wrote:
I would like a little command line tool to do the equivelent of opening a dia file in dia, selecting export, selecting format and filename, saving, quiting dia.
The command could work like
dia2png dia-file [options]
options: -o output file name (default is dia-file.png) other options for the pingify routines
dia2eps dia-file [options]
etc.
Would these apps be hard to roll out of the dia distribution?
Pretty easy indeed just install dia ;-) man dia would have told you so... dia -e my_file.eps my_file.dia dia -e my_file.png my_file.dia
however it seems there is a problem with color conversion for exporting to png in command-line mode (in dia v0.94 w/ python plugin) :
** (dia-python:6038): WARNING **: Can't color_convert in non-interactive app (w/o color_init())
this problem doesn't happen in cvs without python plugin.
Hope this helps, -- Gr�goire Dooms
_______________________________________________ Dia-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/projects/dia/faq.html Main page at http://www.gnome.org/projects/dia
