Exception when convert vsdx to Tiff on Centos 7

Hi,
I convert vsdx file to tiff and get the exception message: “Not implemented.” on Linux but it works well on Windows.

try
{
var dgr = new Aspose.Diagram.Diagram(inFile);
dgr.Save(outFile, Aspose.Diagram.SaveFileFormat.Tiff);
}
catch(Exception e)
{
string errMsg=e.what();
}

Please help to investigate this.
Thanks.

@dunghnguyen

Are you using the latest version of the API i.e. Aspose.Diagram for .NET 21.9? In case the issue is still happening, please share complete error details along with stack trace information. We will investigate the issue and address it accordingly.

@asad.ali
I used Aspose.Diagram 21.9. Here’re error’s detail:

error message
Not implemented.
stack trace
at System.Drawing.SafeNativeMethods.Gdip.CheckStatus(Int32 status)
at System.Drawing.Image.SaveAdd(Image image, EncoderParameters encoderParams)
at .(Image , )
at .(Stream , ImageSaveOptions , Diagram )
at .(Stream , ImageSaveOptions , Diagram )
at . (Object )
at . (Object )
at . (MethodBase , Boolean )
at .​( , )
at . ()
at . (Boolean )
at . (Object )
at . (Object )
at . ()
at . ( , )
at . ()
at . (Boolean )
at . (Object )
at . (Object )
at . ()
at . (Boolean )
at . (Boolean )
at . (Object[] , Type[] , Type[] , Object[] )
at . (Int32 , Type[] , Type[] , Boolean )
at . ( , )
at . ()
at . (Boolean )
at . (Object )
at . (Object )
at . ()
at . ( , )
at . ()
at . (Boolean )
at . (Object )
at . (Object )
at . ()
at . (Boolean )
at . (Boolean )
at . (Object[] , Type[] , Type[] , Object[] )
at . (Stream , String , Object[] , Type[] , Type[] , Object[] )
at . (Stream , String , Object[] )
at . (Stream , String , Object[] )
at Aspose.Diagram.Diagram.Save(String filename, SaveFileFormat format)

@dunghnguyen

We have logged an investigation ticket as DIAGRAMNET-52295 in our issue tracking system to further analyze this scenario. We will look into its details and keep you posted with the status of ticket resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.

@dunghnguyen
Please try the latest fix 21.9.2. We have fixed this issue in the fix.
Thanks.
Aspose.Diagram21.9.2.zip (4.5 MB)

@philip.zhou
I got it, thanks for the fix.

The issues you have found earlier (filed as DIAGRAMNET-52295) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou