There's only one pointer (i thing).
Try to specify width and/or height of <fo:external-graphic>
search list archive http://marc.theaimsgroup.com/?l=fop-dev&r=1&w=2

I look to source code, and IMHO you must modify
src/org/apache/fop/images and src/org/apache/fop/images/analyzer
classes to suport DPI (extract dpi from file and compute "right"
width/height)

Michal

-----Original Message-----
From: Ambar Roy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 2:01 PM
To: [EMAIL PROTECTED]
Subject: size of images placed using <fo:external-graphic>


Hi,
    When I place a image using external-graphic without
specifying the size of the image, the image is rendered at a
fixed dpi (72 dpi perhaps). This happens even if the file
has a method of specifying dpi, like JPG files. Why does
this happen? According to the XSL spec, the image should be
placed as per the size of the image if content-width and
content-height is set to auto.
    I suppose this is a known bug/feature of fop, or I am
misinterpreting the XSL spec. Is it a difficult thing to
modify the FOP source to achieve this result. I am using
FOP-20.4. Can I expect to do this in a reasonable amount of
time? I have experience with java and c++ programming, but I
haven't really tried to hack the FOP source. Any pointers?

Ambar Roy


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

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

Reply via email to