Convert ONE to JPEG via Java

Export OneNote® ONE to JPEG image within Java based applications without relying on any other software.

 

Aspose.Note for Java is an API to process, view or convert Microsoft OneNote files to PDF, JPG, PNG, BMP and TIFF image formats. It is a stand alone, user-friendly and fast application API and does not need any additional software. It supports .one and .onenote extensions with high-performance conversion.

Steps to Convert ONE to JPEG

  1. Load ONE file with Document class
  2. Create ImageSaveOptions object with SaveFormat.Jpeg as parameter.
  3. Call the Save method with JPEG image file and save options as parameters.

Get Started with Java OneNote API

You can easily use Aspose.Note for Java directly from a Aspose Maven Repository based project and include libraries in your pom.xml.

Alternatively, you can get a ZIP file from downloads .

 

This sample code shows how to convert ONE to JPEG image via Java

 

OneNote Conversion Live Demos