Reliable RESTful API Solution to Optimize PDF Document.

GroupDocs.Conversion Cloud is a document and image conversion solution. It empowers the developers to add document conversion feature in their applications on any platform with complete control using standard REST API Calls. In this post we will discuss How to optimize PDF document. You can visit GroupDocs.Convesion Cloud for a complete list of features.

A PDF document may sometimes contain additional data. Reducing the size of a PDF file will help you optimize the network transfer and storage. This is especially handy for publishing on web pages, sharing on social networks, sending by e-mail, or archiving in storage. Let me show you how easily you can use GroupDocs.Conversion Cloud to optimize PDF document for web or optimize the PDF file size. I will be using cURL in the following examples. You can use the SDK of your favorite programming language, without worrying about underlying REST API calls.

Optimize PDF Document for Web

Optimization, or linearization for Web, refers to the process of making a PDF file suitable for online browsing using a web browser. The linearized PDF file loads faster over the Internet. Because, linearized PDF files contains information that allow a byte-streaming server to download the PDF file one page at a time. If the byte-streaming is disabled on the server or if the PDF file is not linearized, the entire PDF file must be downloaded before it can be viewed. Check the cURL API command to optimize a PDF file for web display:

Optimize PDF for web

Optimize PDF File Size

To optimize PDF file size, we can use several techniques to optimize PDF. GroupDocs.Conversion Cloud provides following properties to optimize the file size:

  • compressImages
  • imageQuality
  • linkDuplicateStreams
  • unembedFonts
  • removeUnusedObjects
  • removeUnusedStreams

Feel free to drop us a comment at the support forum sharing your thoughts about GroupDocs.Conversion Cloud API. Or let us know if you have any suggestions or if you need any particular features which you expect our REST API to have.

And if you’ve not already had a chance to try our REST API, simply start a free trial today. All you need is to sign up with the groupdocs.cloud. Once you’ve signed up, you’re ready to try the powerful file processing features offered by groupdocs.cloud.