Scaling image

Here should go questions about transforming XML with XSLT and FOP.
pedro.riky
Posts: 16
Joined: Thu Mar 01, 2007 2:19 pm

Scaling image

Post by pedro.riky »

Hi all
i use fop 0.93 and i want to scale a external image?
i try <fo:external-graphic> but not works,use <fo:instream-foreign-object> is the
way?

Thanks
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

If you know the size of the image that appears in the PDF document use the attributes width and height of the fo:external-graphic element. If you do not know the size use the scaling attribute which is supported in FOP 0.93.


Regards,
Sorin
pedro.riky
Posts: 16
Joined: Thu Mar 01, 2007 2:19 pm

Thanks

Post by pedro.riky »

Thank you very much sorin it works fine!
Have a nice day!
Post Reply