Aspose functionality is not working on Centos 7

Hi,
We have licence for Aspose.total and trying to merge .docx and .tif file.

Attached code is working fine on windows OS but giving error on Centos 7.

Error is coming while merging .tif file to .docx, this is not specific to .tif file because we have seen inconsistent behavior with .docx, .JPEG as well

Please check attached class file,

Error: The type initializer for ’ ’ threw an exception.

Please check and revertAspose.zip (1.7 KB)

@priyanka.gandhi

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

Hi,
Please find attached zip folder with console application and sample files.
Note: This code is working fine on windows but giving error on Centos 7Aspose.zip (484.9 KB)

@priyanka.gandhi

Thanks for sharing the detail. We are investigating this issue and will get back to you soon.

@priyanka.gandhi

We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-18191. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Thank you for your reply.
Waiting for positive response.

@priyanka.gandhi

It is to inform you that the issue which you are facing is actually not a bug in Aspose.Words. So, we have closed this issue (WORDSNET-18191) as ‘Not a Bug’.

.NET Standard 2.0 version of Aspose.Words uses SkiaSharp to deal with graphics. To make it work in Linux container it is required to add Linux native Skia library. Please add reference to SkiaSharp.NativeAssets.Linux.