If the Image file size is around 1.5MB, then it is not getting displayed while generating pdf. Is any size limit is present to access the image in jrxml file?



I need to display the images in the pdf. The file size of the image is 1.5 MB and 300 dpi resolution.

When I compressed the file size in Kilobytes it works fine and displayed properly in pdf.

I have used

<image scaleImage="RetainShape">




My query is whether the file size of the image we try to access should be less than 1MB or any specific limit is there to display while generating pdf in jasper?

Please any one let me know if you have solution.

Thank You.


Swejas's picture
Joined: Feb 7 2020 - 11:12pm
Last seen: 1 week 3 days ago

0 Answers:

No answers yet