We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Trying to convert a PDF to multi-page tiff via lambda, getting errors

We are trying to create a multi-page tiff from a pdf that is passed through a lambda. Doing so seems to rely on a process called system.drawing.common, which can’t be supported because the server is hosted on AWS. Is there any way to get the conversion to take place or get around system.drawing,common? The errors returned by cloudwatch are listed below.

—> System.TypeInitializationException: The type initializer for ‘Gdip’ threw an exception.
—> System.PlatformNotSupportedException: System.Drawing.Common is not supported on non-Windows platforms. See https://aka.ms/systemdrawingnonwindows for more information

Thanks in advance for your help!

@twgestalt

We have logged an investigation ticket for your case as PDFNET-48425 in our issue tracking system. We will check what it takes to convert PDF to multi-page TIFF on AWS Lambda. We will inform you via this forum thread once there is an update available on it. We apologize for your inconvenience.

Could you please share if you are facing this issue will all PDF files or with specific PDF? Please also share the sample PDF file for which you are facing this issue.

This is an issue with all PDF files, not just any one sample PDF. Thank you for your reply!

@twgestalt

Thanks for your feedback. We have logged this detail in our issue tracking system. We will be sure to inform you via this forum thread once there is an update available on your issue.