alancf Posted January 12, 2011 Share Posted January 12, 2011 Hi,I have a report designed with iReport 1.3.0. This report includes several images, which are loaded dynamically. Then I use JasperRunManager.runReportToPdfFile to create the PDF. Everything in the PDF looks fine except for the images, which appear scaled.Can anyone tell me what am I doing wrong?Thanks.P.S.: I've just downloaded and installed the newest version (4.0.0). I've tried a preview of the report, and the images still appear scaled. There must be some config parameter I'm missing, but I can't figure out which one. Please help! Link to comment Share on other sites More sharing options...
cbarlow3 Posted January 12, 2011 Share Posted January 12, 2011 In iReport, select the image. In the "Properties" pane under "Image properties", look for "Scale Image". Your choices are Clip, Fill Frame, Retain Shape, Real Size, and Real Height. I just tried using "Clip", and it worked pretty well for me, but it's easy enough to try all five and see if any of them work for your situation.Carl Link to comment Share on other sites More sharing options...
alancf Posted January 13, 2011 Author Share Posted January 13, 2011 Thanks for the advice Carl. I've already tried them all with no luck. Link to comment Share on other sites More sharing options...
detheo Posted April 13, 2011 Share Posted April 13, 2011 Got the same problem here, but also can't change the scaling, maybe that's the reason the solution didn't help.I allready noticed an topic about the scaling in http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=73263TheoPost Edited by detheo at 04/13/2011 09:50 Link to comment Share on other sites More sharing options...
jjiusdhi Posted May 28, 2013 Share Posted May 28, 2013 How about using a image to pdf converting app, this may be a easier way. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now