// Load the document into Aspose.Note. String dataDir = Utils.getSharedDataDir(ConvertSpecificPageToPngImage.class) + "load/"; Document oneFile = new Document(dataDir + "Sample1.one", new LoadOptions()); // Initialize ImageSaveOptions object ImageSaveOptions opts = new ImageSaveOptions(SaveFormat.Png); // set page index opts.setPageIndex(0); // Save the document as PNG. oneFile.save(dataDir + "ConvertSpecificPageToPngImage_out.png", opts);