Hello Aspose team,
I used a temporary license for the Aspose java library. When I converted DWG file to DXF, the resulting DXF file size is significantly larger than the original DWG (Many folds). For instance, a 263KB DWG file becomes a 39MB DXF file.
Is this expected behavior, or are there ways to optimize the conversion process and reduce the output file size?
@henokeshete,
Hi,
could you please test if this example is helpful:
CadImage cadImage = (CadImage)CadImage.load(inputFile);
DxfOptions dxfOptions = new DxfOptions();
dxfOptions.setOutputMode(CadOutputMode.Convert);
cadImage.save(dxfName, dxfOptions);
1 Like
Thank you very much oleksii,
It reduce the size from 39MB to 2MB even if the source DWG size is 2K.
Thank you again
1 Like
@henokeshete,
we are happy to help 