I want to compress pdf and wants cloud api and docker image for the same
Please share document links for cloud api as well as docker image and how to use them in Nodejs
Hi, @deepalig11 !
I’m sorry but we don’t have an article precisely about your question.
Here are some useful links:
- Working with Files and Storage using Aspose.PDF Cloud|Documentation
- Convert PDF to other Formats without using Storage|Documentation
You should use postOptimizeDocument
function to compress PDFs.
optimize document is working for cloud api but when I am trying in self hosting environment
there I am getting error.
Please suggest how to pass the path and name of file for this.
my file is stored in /data/merge/testpdf.pdf
{
Code: ‘internalError’,
Message: “Exception of type ‘System.OutOfMemoryException’ was thrown.”,
Description: ‘Operation Failed. Internal error.’,
DateTime: ‘2024-05-04T19:50:20.9720249Z’,
InnerError: null
}