[#14346] - Images with scale REAL_HEIGHT or REAL_SIZE not working

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
N/A
Assigned to:

Scaling Images with values ScaleImageEnum.REAL_HEIGHT or ScaleImageEnum.REAL_SIZE do not work. The Images are always scaled with ScaleImageEnum.RETAIN_SHAPE.

IMHO the problematic code can be found within JRFillImage.java, createElementTemplate():

if (getScaleImageValue() == ScaleImageEnum.REAL_HEIGHT
|| getScaleImageValue() == ScaleImageEnum.REAL_SIZE)
{
template.setScaleImage(ScaleImageEnum.RETAIN_SHAPE);
}

jasper library
dfreismuth's picture
Joined: Jan 18 2018 - 11:29pm
Last seen: 1 month 3 weeks ago

1 Comment:

#1

Do you have a concrete (and self contained) example report with an image that's not working?

Regards,
Lucian

Feedback
randomness