pdf files making 16x16 icons larger randomly

Questions about XML that are not covered by the other forums should go here.
jojobar
Posts: 13

pdf files making 16x16 icons larger randomly

Fri Aug 25, 2017 11:20 pm

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: 9

Re: pdf files making 16x16 icons larger randomly

Mon Aug 28, 2017 2:19 pm

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

Return to “General XML Questions”

Who is online

Users browsing this forum: No registered users and 0 guests