| Auszug |
|---|
|
Nuclos Jasper inserting images: image, PNG, SVG, scale image, on error, resource, InputStream, image expression. |
Language: Deutsch · English
Inserting images
Embed images in reports/forms – as a resource or dynamically from the database via InputStream.
| Status |
|---|
| colour | Blue |
|---|
| title | Application developer |
|---|
|
| Status |
|---|
| colour | Green |
|---|
| title | Stand: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | gilt fuer Nuclos 4.2026.x |
|---|
|
JasperReports accepts GIF, PNG and JPEG as well as vector graphics as SVG (without embedded raster graphics). Drag the Image tool onto the canvas and pick the file (set the filter to „All files“ if needed).

Image element in Jaspersoft Studio.
Key properties
| Property | Values |
|---|
| Scale Image | Retain Shape (aspect ratio, default) · Fill Frame (fills area, may distort). |
| On Error Type | Error (throw, default) · Blank (nothing) · Icon (placeholder). |
| Rotation | None · Left (−90°) · Right (90°) · UpsideDown (180°). |
| Image Alignment | horizontal/vertical alignment. |
Provide the image in Nuclos
Nuclos embeds the image at runtime by file/image name. Upload it under Configuration → Others → Resource.
| Hinweis |
|---|
|
The new resource must be assigned to the nuclet – otherwise the report reports that the image cannot be found. |
Images from report data (dynamic)
To show images from the database:
- Create a field referencing the image (e.g.
User_Photo). - Set the field Class to
java.io.InputStream. - In the Image tab open the expression editor and set the field as the Image Expression.

Image expression from a database field.
Related pages