Optimize the size and structure of an image file with our image optimization API. Leverage adaptive document learning, image analysis, and compression algorithms to optimize images in your application or custom workflows.
Why Nutrient DWS API?
SOC 2 Compliant
Build the workflows you need without worrying about security. We don’t store any document data, and our API endpoints are served through encrypted connections.
Easy Integration
Get up and running in hours, not weeks. Access well-documented APIs and code samples that make integrating with your existing workflows a snap.
Robust and Flexible
With access to more than 30 tools, you can process one document in multiple ways by using API credits. Generate PDF from HTML, convert Word, Excel, PowerPoint and image files to PDF, and more.
Simple and Transparent Pricing
Select a package that suits your needs according to the number of credits you wish to spend. Each API tool and action has a specific credit cost.
Try It Out
This example will optimize and compress your document.
Add a PDF named document.pdf to your project folder. You can use our sample document.
The file name is case sensitive. Make sure the file name matches the file name in the sample code.The file name is case sensitive. Make sure the file name matches the file name in the sample code.
Mixed raster content (MRC) is a way to compress images with mixed content. For more information, see the MRC Wikipedia article.
Document Engine uses advanced MRC compression techniques to reduce the size of structured documents that mix text, graphics, and images — without losing quality.
Our MRC compression engine is based on MRC hyper-compression techniques, and it can both reduce the size of images and improve rendering quality. Using image segmentation, it compresses areas with the optimum algorithm based on their characteristics.