Aspose cad for java转换

测试问题cad.zip (644.0 KB)

请帮我转换成PDF文件

@yichunxia,

我建议您尝试使用以下线程链接,使用最新的Aspose.CAD for Java 20.1将DWG导出为PDF。

2018-9-8_t3.zip (9.0 MB)
转化之后出现如下报错,请查看下原因?
xception in thread “main” class com.aspose.cad.cadexceptions.ImageLoadException: Image loading failed: Cannot process loading further due to incorrect file format structure, may be file is corrupted. —> class com.aspose.cad.internal.Exceptions.Exception: Cannot process loading further due to incorrect file format structure, may be file is corrupted.
com.aspose.cad.internal.fD.g.a(Unknown Source)
com.aspose.cad.internal.fD.bj.a(Unknown Source)
com.aspose.cad.internal.fD.bi.load(Unknown Source)
com.aspose.cad.Image.a(Unknown Source)
com.aspose.cad.Image.load(Unknown Source)

@yichunxia,

I have worked with sample file share and have been able to observe the issue. An issue with ID CADJAVA-684 has been created in our issue tracking system to investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as CADJAVA-684) have been fixed in this update.