Hi,
I am planning to update my existing Aspose.Total license up to v22.12.0 and wanted to confirm with the Aspose tech team that this version will allow me to convert XPS to PDF file format.
If not then I need to know which Aspose.Total version can I use to accomplish this?
Thanks,
Rohan
@rohanchristian,
Yes, Aspose.Total for .NET version 22.12.0 includes support for converting XPS to PDF. This functionality is provided by the Aspose.PDF for .NET API, which has started supporting XPS to PDF conversion accurately since version 20.x. Moreover, if you require more advanced features or need to convert XPS to other formats like images, consider using Aspose.Page for .NET. This API also provides good support for XPS to PDF conversion and more.
Amjad,
Thank you for your response. I also wanted to confirm if .NET version 22.12.0 will support running on Linux platform runtime so we could use it from our AWS lambda resources.
Thanks,
Rohan
Amjad,
Initially aspose team suggested using Aspose.PDF.Drawing + installing libgdiplus on the Linux runtime. I was wondering if installing ligbdiplus alone would fix the issue using version 22.12.0
Thanks,
Rohan
@rohanchristian,
Aspose.Total for .NET version 22.12.0 can run on Linux platforms, including AWS Lambda, provided you use the appropriate libraries and dependencies.
- Aspose.PDF.Drawing library is designed to work on Linux environments without relying on
System.Drawing.Common
. It eliminates the need for libgdiplus
and is suitable for scenarios where System.Drawing.Common
is unsupported or problematic. Aspose introduced this library in 22.12.0 version to address Linux compatibility issues. See the document: Overview of Aspose.PDF.Drawing for .NET|Aspose.PDF for .NET for your reference.
- If you choose to use Aspose.PDF for .NET, you will need to install
libgdiplus
on your Linux runtime. This is because System.Drawing.Common
relies on libgdiplus
for graphical operations on Linux. Without it, you may encounter errors. Moreover, ensure that Microsoft-compatible fonts are installed on your Linux environment. e.g., sudo apt-get install ttf-mscorefonts-installer
. See the document: How to Install Aspose.PDF for .NET|Aspose.PDF for .NET for your reference.