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