Jump to content

Image problems in PDF


svenn

Recommended Posts

We are currently using a jpg image as part of our report header. We are having problems creating an image that looks decent at 100 % maginfication in pdf/Word.

We are currently on Jasper 1.3.3

Any tips or tricks for creating a good image in Jasper.

The image looks fine in any image editor we try. Not sure what else we can do.

 

 

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

 

I think that the image quality degradation that you perceive is caused by the fact that in JR, everything is rendered at a fixed resolution of 72 dots per inch. Your image might have a better quality (better resolution) and it simply gets lost.

It probably depends on the value of the "scaleImage" attribute (whether the image is reprocessed/cut by JR, or left intact).

 

We are considering introducing a new attribute for images and graphics, to control the resolution at which they are rendered.

This is so that we preserve the quality of images or produce higher-quality graphs for devices that are resolution sensitive.

 

We have some trackers to keep track of similar issues, but so far we have not finalized on the approach:

http://jasperforge.org/projects/jasperreports/tracker/view.php?id=2723

http://jasperforge.org/projects/jasperreports/tracker/view.php?id=3411

 

Feel free to provide us your feedback.

 

Thanks,
Teodor

 

Link to comment
Share on other sites

  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...