Bug#275959: dia --export-to-format= does nothing, hides errors

Tommi Virtanen Tommi Virtanen <tv@debian.org>, 275959@bugs.debian.org
Mon, 11 Oct 2004 14:30:43 +0300


Roland Stigge wrote:
>>$ dia --export-to-format=png --export=overview.dia.png.tmp overview.dia
...
>>Warning: Could not save file:
>>overview.dia.png.tmp
>>Image type 'tmp' is not supported
>>overview.dia --> overview.dia.png.tmp
> 
> I can't reproduce this. For me, it works fine:
> 
> $ dia --export-to-format=png --export=Diagram1.dia.png.tmp Diagram1.dia
> Diagram1.dia --> Diagram1.dia.png.tmp
> $  file Diagram1.dia.png.tmp
> Diagram1.dia.png.tmp: PNG image data, 56 x 45, 8-bit/color RGB, non-interlaced
> $

That sounds very much like we are running two totally different
versions of dia.

I just checked, even dia-gnome behaves in exactly the same way.