I was successful in getting fop to resize an image according content-width, content-height, width, and height that I specified. You need to specify all four properties. If you specify only one of the content-width/content-height, the other value is computed maintaining aspect ratio. I used exact values with "pt" unit. If this information is not enough, try Apache FOP FAQ's under Graphics.
Vinuta Nagaraddi -----Original Message----- From: David Shevitz [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 5:00 PM To: [EMAIL PROTECTED] Subject: A question regarding image sizing Greetings, I am using XMLMind to generate DocBook XML, and then using XALAN and FOP to generate my PDF. I'm having some difficulty, however, getting my graphics to fit correctly. Currently, they seem to change size until the width of the graphic matches the available width on the page. What I'd like is to set the size somehow, for example, 60% of the original. I had thought I could use the width attribute to accomplish this, but it doesn't seem to have any affect. Does anyone have any suggestions? Thanks, Dave Shevitz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
