This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
PNG scaling for XML->FO->PDF transformation
- From: Thomas Singer <thomas dot singer at regnis dot de>
- To: docbook at lists dot oasis-open dot org
- Date: Sat, 11 Jan 2003 09:34:02 +0100
- Subject: DOCBOOK: PNG scaling for XML->FO->PDF transformation
Hello,
I'm new to docbook, so my question might be a simple one.
I write docbook XML and transform it into pdf using saxon and fop (latest
downloads). PNG files are embedded into <graphic fileref="filename.png"/>
elements. But for some unknown reason, they are always scaled to the full
width, except if multiple (e.g.) graphics are on the same page. But even in
the latter case, they aren't scaled by the same factor. A small dialog will
become just a little bit smaller than a full screenshot.
I've tried to use both, the scale and the scaletofit parameter, but nothing
changed.
Could someone please help me, how to scale the files to be a little bit
smaller, so they will require less space (that was my goal ;-)). Thanks in
advance!
Cheers,
Tom