30 Jul
2005
30 Jul
'05
7:14 p.m.
Ted Gould wrote:
Lee Braiden wrote:
There is one small Inkscape issue, which I'm currently working around.
I'm calling inkscape from within an extension, like so:
inkscape --without-gui --export-id="itemtoexport" --export-png="pngfilename" "svgfilename"
But this outputs the following:
** (inkscape:25789): WARNING **: Format autodetect failed. The file is being opened as SVG.
Strangely, this doesn't happen on the same file if I load it directly from the command line with inkscape "svgfilename".
Are the filenames the same or does one have ".svg" on the end of it? The file detection being refered to here is all filename based.
Ted this is our problem. The temp files saved by inkscape for effects do not have the *.svg extension.
Aaron Spike