Free Support Forum - aspose.com

Cannot process loading further due to incorrect file format structure

Trying to load and convert a dwg file (attached) and keep on getting “Cannot process loading further due to incorrect file format structure”. However, this dwg file opens fine with many other DWG viewers.
Here is the sample code:
using (var image = Image.Load(“000005.19697916.0002.dwg”))
{
var tiffOptions = new TiffOptions(TiffExpectedFormat.Default);
image.Save(Options.TargetFile, tiffOptions);
}
000005.19697916.0002.zip (41.7 KB)

Please advise,
Thanks

@reisvm,

Can you please try using latest Aspose.CAD for .NET 20.6 and in case there is an issue then please share the generated output along with a snapshot highlighting the issue.

The upgrade worked.
Thanks

@reisvm,

Thank you for your feedback.