Re: Request: dia2png, dia2eps, dia2etc...



On Mon, 4 Apr 2005, [ISO-8859-1] Grégoire Dooms wrote:

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 ;-)

heh... Cheers :)

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







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]