Converting DWG to JPEG : Image is distorted


I encounter this problem when I converted a DWG file to JPEG file, the resulting image is distorted.
I suspect the setting of rasterization options for its pageWidth and pageHeight.
But I am not sure.

Can you check the attached file? (Could it be Aspose issue) (208.1 KB)

The distorted output is this file. (432.8 KB)

Below is the code I used: (790 Bytes)

Thank you.


Can you please share which output belongs to Aspose.CAD and what is difference between expected and obtained output.


In the zipped file, the disorted output is the file named ISO A1_out_.jpg
It was converted using Aspose.
Here it is --> (290.6 KB)

The expected output should be this. --> (1.6 MB)


I have created an issue with ID CADJAVA-10153 to further investigate this on our end after reproducing on my end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

1 Like