Page 1 of 1

Scaling image

Posted: Thu Mar 01, 2007 2:21 pm
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

Posted: Thu Mar 01, 2007 3:21 pm
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

Thanks

Posted: Fri Mar 02, 2007 10:21 am
by pedro.riky
Thank you very much sorin it works fine!
Have a nice day!