We're sorry GroupDocs doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.com

Conversion outputs a blank page

Hi, I’m using version 22.12.1 for java on OpenJDK 11, Windows 10, .
I’m trying to convert this docx to a png file and I get a single blank page, instead of 2 converted images.
Input file: Dimmer Days.docx (49.3 KB)
It took 347 seconds to convert this file and produce a blank page. Why?
Can you please help?
Thank you,


We cannot reproduce this issue at our end using following code:

    //Java code
    String outputFolder = "D:/";
    String outputFileTemplate = new File(outputFolder, "converted-page-%d.png").getPath();

    try(FileOutputStream getPageStream = new FileOutputStream(String.format(outputFileTemplate, 1))) {
        Converter converter = new Converter("D:/Dimmer Days (2).docx");
        ImageConvertOptions options = new ImageConvertOptions();
        converter.convert(() -> getPageStream, options);
    } catch (IOException e) {

Take a look at this output.png (40.4 KB). Could you please share a sample application using that issue could be reproduced?
As far as converting multi paged document to multi images is concerned, we have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.


You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.


Please use following code to convert multi paged document to multiple images (e.g. PNG):

//Java code to convert multi paged document to multiple PNG files
Converter converter = new Converter("sample.docx");
final ImageConvertOptions convertOptions = new ImageConvertOptions();
converter.convert((SavePageStream) i -> {
     try {
         return new FileOutputStream("output" + i + ".png");
     catch (FileNotFoundException e) {
         throw new RuntimeException(e);
}, convertOptions);