Bug 38089 - image rendering differs between 0.90 and 0.91
Summary: image rendering differs between 0.90 and 0.91
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: images (show other bugs)
Version: 0.91
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-01 23:49 UTC by Jan Cumps
Modified: 2012-04-01 06:51 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Cumps 2006-01-01 23:49:49 UTC
While rendering a .bmp image in fop 0.90alpha1 the pdf renderer rendered the 
image with exact size, it is resized in 0.90beta.

My bitmap EventReminderIntegration.bmp has a width of 13.56cm, and a height of 
5.95cm.

My xml contains this code:

    <fo:block space-before.optimum="20pt">
      <fo:external-graphic content-width="13.56cm" content-height="5.95cm" 
src="url(EventReminderIntegration.bmp)"/>
    </fo:block>


In 0.91beta1, the image is resized to 5.5cm*5.5cm
Comment 1 Manuel Mall 2006-01-02 04:48:50 UTC
There was a change between 0.90 and 0.91 with respect to the image sizing code. 
That change exposed a bug in the BMP image header decoder which incorrectly 
reported the image width as the image height as well. That problem wasn't 
caught before because in our test suite most images are square. Any volunteer 
out there prepared to change all the test images to some rectangular format and 
to adjust the testcases accordingly?

Any way the problem should be fixed now: http://svn.apache.org/viewcvs?
rev=365282&view=rev

Comment 2 Jan Cumps 2006-01-04 22:36:39 UTC
Tested with fresh build from fop-trunk.
It is indeed resolved.
Thank you.
Comment 3 Glenn Adams 2012-04-01 06:51:52 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed