OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] XEP and .PNG images created with Gnome's DIA


I tried that, and then I had the problem where it was too small in the HTML version but just right in the PDF version, or else it was too big in the PDF and just right in the HTML version.

There is definitely a bug in either XEP or DIA, or the combination of using them together (because XEP has no problems with .png files created with umbrello, and FOP has no problems with .png files created by dia).


On 7/16/05, Jirka Kosek <jirka@kosek.cz> wrote:
Alan Ezust wrote:

> But one area where XEP does not work the same way as FOP is when including
> PNG images.

It is not working the same way, but correct way ;-)

> I have a bunch of .PNG images which were created with gnome dia, and they
> appear twice as big in XEP-generated PDFs as they do in the FOP-generated
> PDF (or on my screen). Do you have any idea why that might be?

You can either set correct dimensions (or resolution) inside your
graphics file using graphic editor like Gimp, or specify scaling using
scale attribute on imagedate element.

--
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------






--
University of Victoria
Department of Computer Science
Victoria, BC, Canada


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]