hanidraidi Posted February 21, 2018 Share Posted February 21, 2018 I am new to Jaspersoft iReport Designer, I started with creating a simple JRXML file in which a simple JPG image is inserted, when trying to open this JRXML report using iReport Designer in another machine it does not show the image, and says that this image is not available in its physical location (the original directory of the image in the first machine). Is there a way to embed the image in the JRXML file such that it becomes a part of the report, and does not require to be physically stored on the machine?Any help is appreciated,Hani Link to comment Share on other sites More sharing options...
hozawa Posted February 22, 2018 Share Posted February 22, 2018 If you encode the image into base64, you'll be able to do it but the report size will be large. Another option is to just use JasperReports Java library and include the image in the jar file. Link to comment Share on other sites More sharing options...
hanidraidi Posted February 24, 2018 Author Share Posted February 24, 2018 Dear hozawa,Thank you for the prompt input,May you please elaborate more how can I "use JasperReports Java library and include the image in the jar file"?Kind Regards, 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