GroupDocs.Conversion for Java 25.6 Release Notes

Major Features

There are 3+ features and bug fixes in this release:

  • Fixed pdf to jpg conversion
  • Improved html document conversion pipeline
  • Introduced new functional interface for Load Options

Full List of Issues Covering all Changes in this Release

KeyCategorySummary
CONVERSIONJAVA-2909BugPDF to JPEG conversion results in black image
  1. Introduced new interface LoadOptionsForNameFileTypeStreamProvider.

    Usage example:

        HtmlLoadOptions loadOptions = new HtmlLoadOptions();
    
        try (Converter converter = new Converter("input.html", (fileName, fileType, contentStream) -> loadOptions)) {
            PdfConvertOptions options = new PdfConvertOptions();
            converter.convert("converted.pdf", options);
        }
    

Public API and backward incompatible changes

Deleted Converter constructors:

public Converter(InputStream document)

public Converter(InputStream document, ConverterSettings settings) 

public Converter(InputStream document, LoadOptions loadOptions)

public Converter(InputStream document, final LoadOptions loadOptions, ConverterSettings settings)

public Converter(InputStream document, Func1<FileType, LoadOptions> loadOptions)

public Converter(InputStream document, Func1<FileType, LoadOptions> loadOptions, ConverterSettings settings)
    ```