Compress Images in OneNote to PDF Conversion in Java

Aspose-Note-for-Java

We are pleased to announce the release of Aspose.Note for Java 18.3. This month’s release introduces the capability to compress output image quality while rendering the document to different formats. It also fixes several issues that further improve overall API functionality. For a complete list of what is new and fixed, please visit the release notes section of API documentation.

Image Compression in OneNote to PDF using Java

Conversion of OneNote documents to various formats is one of the prominent features of Aspose.Note for Java API. This release of API introduces the capability to control the compression ratio of images during conversion to PDF. It lets you select the image compression type and quality using the SaveOptions class of the API. Image quality can be set from 0 to 100 using the JpegQuality property of SaveOptions as shown in the following code sample.

API Resources

  • Documentation – Visit our documentation section for getting started with the API in no time
  • API Reference Guide – Gives detailed information about all the namespaces, classes and methods of the API
  • Forum Support – Post your queries on Aspose.Note forum to get assistance from our technical support team
  • GitHub Examples – Try the ready-to-use examples of the API by downloading from our GitHub repository