Free Support Forum - aspose.com

DWG - Image export failed. Parameter is not valid

I am trying to Save a dwg to a Tiff that I load and I get an exception {“Image export failed. Parameter is not valid.”}

callstack:
at Aspose.CAD.Image.SaveInternal(Stream stream, ImageOptionsBase optionsBase)
at Aspose.CAD.Image.SaveInternal(String filePath, ImageOptionsBase options)

Here is the code:
using (var image = Image.Load(Options.SourceFile))
{
var tiffOptions = new TiffOptions(TiffExpectedFormat.Default);
image.Save(Options.TargetFile, tiffOptions);
}3DPolygon.zip (8.0 KB)

I have attached the file that I am trying to convert. Also I am using Aspose.CAD version 20.6.0

Thanks

@reisvm,

A ticket with ID CADNET-1155 has been created in our issue tracking system after investigating the issue shared. This thread has been linked with the issue so that you may be notified once the issue will be fixed.