Next in thread → Next in month →

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

From
Blan Fzust
Date
2005-07-17T02:07:40+00:00
ID
Thread
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 <> 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: 
     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
Next in thread → Next in month →