Image - Scale Width/Height

2005-10-21 Thread Prakash R
Can someone have a “box” (eg: table cell) set to a
specific height and width and say to have an image
scale to the size of that box??

If images are taller than the height, then scale by
height. But if images are wider than the widths, then
scale by width. But if both height and width are
higher, then scale it such that the image fits in the
box but still maintains its aspect ratio.

Thank you.
Prakas

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



Re: Image - Scale Width/Height

2005-10-21 Thread J.Pietschmann

Prakash R wrote:

Can someone have a “box” (eg: table cell) set to a
specific height and width and say to have an image
scale to the size of that box??


In principle, yes. Unfortunately, FOP 0.20.5 doesn't
implement height properly, which may lead to an increased
height of the table row.

J.Pietschmann

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