Fileformat R11 & R2013 not recognized

Hi,

I\m currently investigating the possibility to use Aspose.CAD for plotting dwg to pdf. I asked my colleague to create a new dwg in AutoCad 2019 in the latest file format and I am now testing with this file.

var format = Image.GetFileFormat(sourceFilePath); reports that the file is Aspose.CAD.FileFormat.CadR11
This is strange since R11 is a very old format.

When I then try to read the file
using (var cadImage = (CadImage)Image.Load(sourceFilePath))

I get:
Aspose.CAD.CadExceptions.ImageLoadException: ‘Image loading failed.’
Inner Expection
Exception: Cannot process loading further due to incorrect file format structure.

Why is the file identified with the wrong format and why cant I read it?

Here is the file I am trying with.

331-3.zip (561.1 KB)

@toravaapp,

I have been able to observe issue and created an issue with ID CADNET-987 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.