Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26585

    Hi. I’m working with the Java API for PD4ML, version 3.7.1b4
    When I put a PNG image tag with a file URL in some HTML content:

    <br /> <html><br /> <head></head><br /> <body><br /> <img src="file:///home/jesse/test.png"><br /> </body><br /> </html><br />

    I can render the document as a PDF just fine. The image shows up and all is well.

    When I try rendering the document as an RTF, the image does not show up. No trace of it exists. Not even a box where an image ought to go.

    Also:
    – When I look at the raw RTF code, the pictpngblip tags exist and the data for the image exists.
    – JPEG images are fine in both formats.

    #28606

    PD4ML supports 2 types of RTF output: RTF and RTF_WMF. The second one forces all images to be converted to WMF format for better RTF viewer compatibility. For instance, MS Wordpad is able to render WMF images only. MS Word, as a rule, is able to show JPEG, PNG etc.

    #28607

    Worked great! You guys are the best

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.