// Load the document into Aspose.Note. String dataDir = Utils.getSharedDataDir(ConvertToImageUsingDefaultOptions.class) + "load/"; Document oneFile = new Document(dataDir + "Sample1.one", new LoadOptions()); // Save the document as Gif. oneFile.save(dataDir + "ConvertToImageUsingDefaultOptions_out.gif", SaveFormat.Gif);