This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Docbook, Images, and FOP
- From: Georges Schmitz <georges dot schmitz at heitec dot de>
- To: David 'Dox' Shevitz <dshevitz at singlestep dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 26 Apr 2005 17:17:58 +0200
- Subject: Re: [docbook-apps] Docbook, Images, and FOP
- References: <426E57BF.5020908@singlestep.com>
David 'Dox' Shevitz schrieb:
I am using FOP to take a docbook document and transform it into a PDF.
My problem: the images that I am using continually get stretched,
filling up far more space than they need to and looking just terrible.
I am taking standard screenshots and using GIMP to save them as JPEGs
at 72 dpi.
You have to set the width explicitly with FOP, eg.
<imagedata width="4in" fileref="images/admin-main-window.png" />
I have tried everything I can think of to stop these images from
getting stretched, but with no luck whatsoever. Is this a limitation
of FOP? Or is there something I'm not doing? (And yes, I realize this
might be more appropriate on a FOP user list, but I thought I'd ask
here first since I'm using Docbook.)
It would indeed be a very nice feature, if FOP (or a stylesheet
extension) would respect the resolution, that can be stored in the
imagedata itself eg. in PNG. This way one could set the resolution to
150dpi for print output, which is far enough for screenshots.
Regards,
Georges
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org