GroupDocs.Conversion for Java 23.5 Release Notes

Major Features

There are 4+ features, improvements, and bug fixes in this release, the most notable are:

  • Conversion of multi-page documents to several image files using file name-based method
  • Fixed conversion issues
  • Improved format of error messages
  • Improved code quality

Full List of Issues Covering all Changes in this Release

KeyCategorySummary
CONVERSIONJAVA‑1988FeatureCreate page by page convert method for JavaScript wrapper
CONVERSIONJAVA‑1956FixConverter.Save throws exception when html is converted to other file formats
CONVERSIONJAVA‑1983Fixcom.aspose.note package is not available in that jar file
CONVERSIONJAVA‑1990FixHTML to ODT or Image throws error

Conversion of multi-page documents to several image files using file name-based method

To convert a multi-page document to images just use the convert(final String filePath, ConvertOptions convertOptions) method:

try(Converter converter = new Converter("sample.html");) {
  ImageConvertOptions convertOptions = new ImageConvertOptions();
  convertOptions.setFormat(ImageFileType.Png);
  converter.convert("out.png", convertOptions);
}

As an output, you will get files out1.png, out2.png, out3.png, etc.


Public API and backward incompatible changes

None.