Free Support Forum - aspose.com

DWG to PNG no response

There is a 321kb dwg file.I waited a long time when conversion it to png.
My code : Image image = Image.load(dataDir + “3F.dwg”);
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();
rasterizationOptions.setPageWidth(800);
rasterizationOptions.setPageHeight(1200);
PngOptions pngOptions = new PngOptions();
pngOptions.setVectorRasterizationOptions(rasterizationOptions);
image.save( “3F.png”, pngOptions);:

3F.zip (268.7 KB)
this is the dwg file

@baisuper,

Can you please share which version you are using along with complete environment details so that we may further investigate to help you out.

aspose.cad for java at 19.9
os:centos7.5/mac

@baisuper,

I have worked with sample code and source file shared by you and unable to observe the issue. I have also shared my generated result for your kind reference. For further investigation can you please JDK version and other information that help us to reproduce issue.3F.png (18.4 KB)

My JDK version is JDK1.8,

@baisuper,

I have worked over the issue shared by you and an issue with ID CADJAVA-576 has been created in our issue tracking system to further 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.