Hi all,
 
I am having problems in setting the image size in HTML reports using Itext.
Here is my code
 
  Image  imageLeft = Image.getInstance(reportDTO.getLeftImage());
  imageLeft.scaleToFit(100,30);
 
This works fine in both PDF and RTF but when it is rendered in HTML image is shown in the orginal size.
 
Any help would be appreciated.
 
Image format is Jpeg.
 
 
Thanks
Joe

**************************************************************************
Nous Infosystems
This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual(s) or entity(ies) named in the e-mail address. If you are not the intended recipient, please reply to the [EMAIL PROTECTED], so that arrangements can be made for proper delivery, and then please delete all copies and attachments.Any disclosure, copying, distribution, or reliance upon the contents of this e-mail, by any other than the intended recipients, is strictly prohibited.
************************************************************************** ~
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to