On 19.03.2007 12:09:40 Diane wrote:
> I'm generating a PDF using FOP 0.20.5 which has some text in and some jpegs 
> using the fo:external-graphic tag.
> Without the jpegs, i.e. if I put fo:external-graphic src='', the resultant 
> output PDF is approx. 3k.
> When I insert the details of the location of the jpegs (640k each on local 
> machine), the output size of the PDF is 3mb.  I would have expected it to be 
> more in the region of just under 2mb?

It depends on your settings. If 0.20.5 is run at default settings, I
would expect the PDF to be just under 2MB. A short test of my own
confirms that (one JPEG of 929'406 bytes results in a PDF of 930'622 bytes).
Maybe not all your images are really JPEGs or maybe you configured an
ASCII85 filter for JPEG images or FOP, for some reason, decodes your
JPEG images which can make them bigger. Without seeing the resulting PDF
I cannot say what has happened on your side.

> Is something in FOP increasing the resolution of the output if the images are 
> inserted?

No, FOP inserts all images as is with no up- or downscaling.

> Or is this something which is fixed in fop 0.93?

I don't think it's a bug if you think in that direction.

> Or is this more of a graphics question, if you have three images, extra 
> overhead has to be included for some reason?

No.

> Any answers, even if it can't be fixed, would be appreciated.
> 
> Regards,
> 
> Diane


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to