Convert Html with image source url to PDF in Java

Hi,

We are trying to convert html file to pdf using GroupDocs java api (18.7). We have observed that when there is an image with source as url, it renders as blank instead of resolving the URL.
Is there any way we can achieve this conversion working?

Regards,
Radha Krishna

1 Like

@radhakris.singireddy,

This issue is resolved in latest version (18.12) of the API. Please update API dependency in your pom.xml:

<dependencies>
    <dependency>
        <groupId>com.groupdocs</groupId>
        <artifactId>groupdocs-conversion</artifactId>
        <version>18.12</version> 
    </dependency>
</dependencies>

We can successfully convert a HTML file (with image defined by the URL) to PDF.
Attached are the source and resultant files - SourceOutputFiles.zip (1.9 MB)