Base64
Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. This method can be used to transfer binary data as textual data. Click here to read more on Base64Adding To Jasper Reports
If you need to add the image through a URL(or a file location) to the report you can easily do it by going through image properties. But if you need to set the image through a Base64 encoded character string then you need to add it to the report as shown below.Assume that the parameter for the Base64 encoded string is 'p_logoURL'. Then you can add this parameter to the image expression as shown below.
Image Expression |
I test with this, but my code is not working
ReplyDeletePlease help....
DeleteHi, Did you check the correctness of the Base64 encoded character string ?
Delete