Community
Participate
Working Groups
See the attached BirtProject, it has two reports. Each identical except for this difference: The image width/height is set to a %age value (50%) in one (TestImage.rptdesign) and not-set in the other (TestImageWorking.rptdesign). TestImage.rptdesign does not display the image in pdf, but works fine in html. TestImageWorking.rptdesign shows the image in both pdf and html. The %age setting seems to cause the problem in pdf format.
Created attachment 169047 [details] BIRT Project
Fixed. The percentage value on height can not be calculated if its parent container does not have a definite height. For this case, the percentage value for image height is ignored, and the image size is calculated by the specified width and its original width/height ratio.
The images in TestImage.rptdesign are shown when preview as PDF. Verified in build (2.6.1.v20100617-0604).