Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT background image is screwed
BIRT background image is screwed [message #368584] Thu, 11 June 2009 21:17 Go to next message
Larry Li is currently offline Larry LiFriend
Messages: 32
Registered: July 2009
Member
Hello,

The background images do not fit well in the page.
I make an example report which has two pages.
Each page uses a different background image.

When I preview in PDF format,
the first page looks fine, but the second page background is screwed.

The report file and images are all here:
http://www1.cs.columbia.edu/~wl318/birt/

Is there a way to fix this? I use BIRT 2.5.0
Thank you.


Larry
Re: BIRT background image is screwed [message #368592 is a reply to message #368584] Fri, 12 June 2009 10:12 Go to previous messageGo to next message
Zhiqiang Qian is currently offline Zhiqiang QianFriend
Messages: 76
Registered: July 2009
Member
Larry,

This seems like a bug. But you can try set the "background repeat" to
"no repeat" and "background size height/width" to "contain" through
Properties View or Advanced Property tab for the two Master Page elements.

Larry Li wrote:
>
> Hello,
>
> The background images do not fit well in the page.
> I make an example report which has two pages.
> Each page uses a different background image.
>
> When I preview in PDF format,
> the first page looks fine, but the second page background is screwed.
>
> The report file and images are all here:
> http://www1.cs.columbia.edu/~wl318/birt/
>
> Is there a way to fix this? I use BIRT 2.5.0
> Thank you.
>
>
> Larry
>
Re: BIRT background image is screwed [message #368595 is a reply to message #368592] Fri, 12 June 2009 16:01 Go to previous message
Larry Li is currently offline Larry LiFriend
Messages: 32
Registered: July 2009
Member
Well, this is what I found about birt background functionality... I wish
it helps if someone else has similar problems.
First, it works much better in bmp images than the other types such as jpg
gif.
So, using bmp has a better chance to get a "normal" background.
Second, the image size ratio (height/width) should be the same (or very
close) to the height/width ratio of the report. Therefore, birt won't
generate "unexpected" background image.

If I do these two steps carefully, I have a higher chance (but not always)
to get the background I want.

By the way, all of those "background repeat," "background size," and
"contain" properties do not help fixing this background image problem.

Larry

> Larry,

> This seems like a bug. But you can try set the "background repeat" to
> "no repeat" and "background size height/width" to "contain" through
> Properties View or Advanced Property tab for the two Master Page elements.

> Larry Li wrote:
>>
>> Hello,
>>
>> The background images do not fit well in the page.
>> I make an example report which has two pages.
>> Each page uses a different background image.
>>
>> When I preview in PDF format,
>> the first page looks fine, but the second page background is screwed.
>>
>> The report file and images are all here:
>> http://www1.cs.columbia.edu/~wl318/birt/
>>
>> Is there a way to fix this? I use BIRT 2.5.0
>> Thank you.
>>
>>
>> Larry
>>
Previous Topic:iterate over report parameters in javascrips
Next Topic:Collapsible Groups
Goto Forum:
  


Current Time: Sat Apr 20 06:56:40 GMT 2024

Powered by FUDForum. Page generated in 0.03701 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top