Re: external-graphic and ratio
Rodolphe VAGNER wrote: Is it possible to apply a ratio on an image trhought an external-graphic fo element ? I mean I want to display a graphic at 1/3 its size for example. Can anyone help ? Thanks You can't scale a graphicto 1/3 or the original size. One problem is actually: what is the "original size", for most bitmap formats. You can specify height and or width in absolute units or relative to the reference area: - Original Message - You are supposed to trim uneccesary old quotes. J.Pietschmann
Re: external-graphic and ratio
One solution may be to put the graphic inside a table - cell. The graphic will be scaled to the cell size. But it supposes that you know the width you want the graphic to be displayed It is the only solution I have found so far. Flo - Original Message - From: "Rodolphe VAGNER" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 28, 2002 12:14 PM Subject: external-graphic and ratio > Hello, > > Is it possible to apply a ratio on an image trhought > an external-graphic fo element ? > I mean I want to display a graphic at 1/3 its size for example. > Can anyone help ? > Thanks > > > - Original Message - > From: "J.Pietschmann" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, June 25, 2002 10:36 PM > Subject: Re: What kind of TIFF does FOP support > > > > Oleg Tkachenko wrote: > > > btw, isn't jimi some kind of obsolete library intended to be used by > > > those tied to jdk1.1? > > > > Well, obsolete or not, it works, is available, platform neutral, > > easy to install and provides support for a wide range of graphics > > formats, some of them rather obscure. Do you know of a JAI > > implementation, preferably OSS and/or freely available, which > > supports all common subformats of TIFF, PNG, BMP and perhaps a > > few more? > > > > A quick sweep through sourceforge revealed only a TIFF > > implementation. > > > > The Sun JAI implementation offers all the formats, but > > installation requires more than just dropping a jar into > > the classpath, and it contains platform specific binaries > > (good for speed but screws Mac users and others). > > > > J.Pietschmann > > > >
external-graphic and ratio
Hello, Is it possible to apply a ratio on an image trhought an external-graphic fo element ? I mean I want to display a graphic at 1/3 its size for example. Can anyone help ? Thanks - Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 25, 2002 10:36 PM Subject: Re: What kind of TIFF does FOP support > Oleg Tkachenko wrote: > > btw, isn't jimi some kind of obsolete library intended to be used by > > those tied to jdk1.1? > > Well, obsolete or not, it works, is available, platform neutral, > easy to install and provides support for a wide range of graphics > formats, some of them rather obscure. Do you know of a JAI > implementation, preferably OSS and/or freely available, which > supports all common subformats of TIFF, PNG, BMP and perhaps a > few more? > > A quick sweep through sourceforge revealed only a TIFF > implementation. > > The Sun JAI implementation offers all the formats, but > installation requires more than just dropping a jar into > the classpath, and it contains platform specific binaries > (good for speed but screws Mac users and others). > > J.Pietschmann >