pdf files making 16x16 icons larger randomly

Questions about XML that are not covered by the other forums should go here.
jojobar
Posts: 27
Joined: Wed Nov 02, 2016 9:01 pm

pdf files making 16x16 icons larger randomly

Post by jojobar »

In my document I have several icons that are represented as:

Code: Select all

<para> blah blah blah <inlinemediaobject>
<imageobject>
<imagedata fileref="images/xxx/AccountDetails.png"
format="PNG" />
</imageobject>
</inlinemediaobject> blah blah blah</para>
When I convert them to pdf using the normal pdf transform supplied, some of these icons shows up in correct size. However some icons randomly becomes much bigger.

Right now I am managing this by adding width=16px and depth=16px to those icons. However, because there are so many, I am wondering if it is a bug or I need to specify something!

I am using version 18
cosmin_andrei
Posts: 138
Joined: Mon Jun 12, 2017 10:50 am

Re: pdf files making 16x16 icons larger randomly

Post by cosmin_andrei »

Hello,

If some of your images appear stretched-out in PDF, you should try to either adjust or remove the dpi (dots per inch) information from them.

Please read this topic in our documentation where you can find more information about this issue:
https://www.oxygenxml.com/doc/versions/ ... utput.html

I hope this helps.
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
Post Reply