Image Url Jasper Report. The reason for encoding these images into text is that we are going to use these text string field in jasper report image. To do so we use encode function of postgresql which takes two parameter the first one is image field with bytea type and the second is escape.
In jasper ireport you can push images using url for that you need to make changes in image property. Referencing an image in jasper report. Add image to the report select custom expression and paste java snippet.