PDF file size restriction and Performance

We are using Aspose components from long time in our company.
Can you please provide details about below points ?

  1. We have a new requirement to pick the images from a folder and create multiple PDFs based on PDF size restriction of 50MB. We are using Aspose.PDF dll with Document object. But we need to loop through image and use save method to get the PDF size. This is taking more time processing. So do we have method to identify the PDF file size before saving it.

  2. Is there any way to improve performance while generating PDF. It takes around 30+ seconds to generate PDFs for 100 images with our requirement of file size restriction.

  3. If we dont compress then a small image in KBs will generate a PDF in MBs. So it is like every image uses more than 1MB while generating PDF. If we use compression then it takes double the time for processing and quality is bad. Do you have any suggestions ?

  4. Our division is planning to buy new version/Upgrade Aspose license. Do we have any option to upgrade existing license ?

  5. If we buy priority support then can we expect fixes for these issues soon ? Please provide more details.

@Ganesh.Datt

Thanks for posting your inquiry.

Currently there is no such feature in the API to determine the size of document before saving it. However we have logged a feature request as PDFNET-43073 in our issue tracking system, for the requested feature. Our product team will investigate the feasibility of the feature and as soon as they share feedback in this regard, we will let you know.

Please note that performance of the API depends upon many factors to be noticed, i.e Complexity and Structure of the Files, API version, Environment in which API is being used, nature of the scenario, etc. Our product team has been already working in fixing reported issues as well as adding improvement/enhancements and new feature to the API.

As your issue has already been reported in another forum thread and logged in our issue tracking system, so it will definitely be investigated accordingly as per the development schedule of the product team. Furthermore, we have logged all relevant information with the issue details as well as your concerns and as soon as we get some definite updates from relevant team, we will inform you.

You can upgrade or renew your subscription any time. For further inquiries, regarding subscription purchase, you can post in Aspose.Purchase forums where relevant staff will assist you accordingly. You may also read more information on “Renewal Policies” page of our website.

Please note that Enterprise/Priority Support does not guarantee any immediate resolutions but it expedites/escalates the process of investigation. Furthermore, the issues logged under the Enterprise/Priority Support have precedence over the issues, logged under Normal/Free support model. For more information, please visit “Support FAQs” page in our website.

We are sorry for the inconvenience.