convert .dia files into .jpg



Hi,
 
Is there anyway to convert a .dia file into a .jpg?
 I read a few months ago about using 'dia -e outfile.jpg infile.dia '
 
I'm running on windows and this doesn't seem to work. I tried doing this in the same directory that my sample file is saved under but this does not work, and just changing the file extension to .jpg has no effect (though it works to and fro with .xml files)
 
I would like to do this becuase I am trying to write some java that will generate a preview of a .dia file.
 
The other option that works manually is to physically right-click the .dia file and select 'create Windows Meta File ' (WMF) , though just changing the extension does not work.
(The WMF can easily be changed to a jpg file)
 


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