PDF Image preview in a topic

Post here questions and problems related to editing and publishing DITA content.
gbv34
Posts: 105
Joined: Thu Jan 20, 2022 12:36 pm

PDF Image preview in a topic

Post by gbv34 »

Hello, everyone and Radu!
I see that Oxygen provides built-in rendering for PDF images. Testing it, I can notice that if I insert a PDF as an image reference, I definitely got a preview image in the topic. Fantastic!
However, when I publish the topic as HTML5, the preview image is not rendered.
image.png
What am I missing?
You do not have the required permissions to view the files attached to this post.
------
Gaspard
Radu
Posts: 9436
Joined: Fri Jul 09, 2004 5:18 pm

Re: PDF Image preview in a topic

Post by Radu »

Hi,

As far as I know PDF images are not supported by web browsers, you can test this with a simple HTML which refers a PDF as an image.
Oxygen does not automatically convert the PDF image to another format supported by a web browser like SVG.
So if you want web output maybe you can consider converting the PDF images to some other vectorial image format like SVG.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply