fop user wrote:
All the images are stretched out so their width is equal to the width of
Unless forcibly scaled down, bitmap images are rendered at
1/72 inch per pixel in the PDF, or roughly 3.53 cm per
100 pixel. Are your images of a high resolution?
List of things I tried:
- set the width and height attributes
Setting either widht or heigth or both on the
fo:external-graphic works for me. If only one is set,
the aspect ratio is conserved.
- embed the image in a table and set the width of the column to the width
of the image
==> incorrect pdf produced
This works for me too.
Can you provide a trimmed down sample of your code and an
image, preferably a well compressed GIF or JPG, which
demonstrates the problem?