Steps to Convert ONETOC2 to BMPAspose.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.
Get Started with Java OneNote API
Aspose.NOTE for .NET is supported on all major operating systems. Just make sure that you have the following prerequisites.
- 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.
Steps to Convert ONETOC2 to BMP using Java
Aspose.NOTE makes it easy for the developers to load & convert ONE files to BMP in just a few lines of code.
- Load ONE file with Document class
- Create ImageSaveOptions object with SaveFormat.BMP as parameter.
- Call the Document.Save method
ONETOC2 What is ONETOC2 File Format
Those who have worked with Microsoft OneNote application may have noticed the presence of .onetoc2 files in the notebook folder. Microsoft OneNote creates binary .onetoc2 file as Table of Contents for keeping an index about the ordering of different note-taking sections in a notebook. A notebook is a collection of section files that are stored in the same directory. The .onetoc2 file uses a collection of properties to specify settings such as order of sections within the notebook and the color of the notebook.
BMP What is BMP File Format
Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. This independency serves the purpose of opening the file on multiple platforms such as Microsoft Windows and Mac. The BMP file format can store data as two-dimensional digital images in both monochrome as well as color format with various colour depths.
Other Supported ONETOC2 Conversions using Java
You can also convert ONETOC2 to many other file formats: