Jordan Soet wrote:
Hi, I'm relatively new to fop and am trying to display images. I'd like to just display the images as they are naturally, no resizing or anything like that, however, when I do this, a number of the images show up larger than they should be.
...
http://xmlgraphics.apache.org/fop/0.20.5/graphics.html#resolution it has something to do with the dpi of the images?
Probably.
Obviously I can just manually change the size to an absolute value in inches but I'm converting from another format and I don't always have access to the image size, so is there a way to always get it to display the same when I don't specify any kind of height or width?
FOP 0.20.5 uses a fixed DPI for computing the measurements of bitmapped images, then scales down to fit the area if necessary. No way around that. FOP 0.90+ should be able to read the DPI values from the JPG files, if they are stored there. If not, the procedure is mainly the same as 0.20.5. Note: if you don't have access to the image size, FOP can't read it either. J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]