Jump to content
We've recently updated our Privacy Statement, available here ×

Exports (with images) well to PDF on Windows but not on Linux


hudara.guy

Recommended Posts

I am using Spring boot with Jasper Reports to generate a PDF file. The PDF file contains a table with country flags (small png files) in one of its columns.

The column's type is java.awt.Image. And I assign the Image file itself using Java code when filling the report, since this is a dynamic image.

The PDF is generated successfully, and all is well when generating it on Windows machine, but when generating it on Linux machine, the flags are not shown in the PDF.

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Thanks, but this is not the problem. In the dataset I put the filename as string, and in my java code I fill it with the correct filename, and checks if the file exist.

Still, working on windows but not working on Linux. (I even match the letter case)

 

Thanks

H Guy

Link to comment
Share on other sites

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...