hello engineer,I tried to convert the DXF file to DWG file, and the code is as follows. The program throws an exception.
code demo:
1721448006191.png (23.0 KB)
exception info:
class com.aspose.cad.cadexceptions.ImageSaveException: Image saving failed. —> class com.aspose.cad.cadexceptions.ImageSaveException: Image export failed. Could not initialize class com.aspose.cad.fileformats.cad.DwgImage —> class com.aspose.cad.internal.Exceptions.InvalidOperationException: Could not initialize class com.aspose.cad.fileformats.cad.DwgImage
How to convert DXF file to DWG file in Java? I am looking forward to your reply. Thank you!