Search Members Help

» Welcome Guest
[ Log In :: Register ]

 

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: EasyBoot 4bit colors, incorrect rendering< Next Oldest | Next Newest >
 Post Number: 1
mionica Search for posts by this member.

Avatar



Group: Members
Posts: 49
Joined: Apr. 2005
PostIcon Posted on: Mar. 23 2006,18:05  Skip to the next post in this topic. Ignore posts   QUOTE

Sir (xoben),

please review the following thread first: this post.

As you well know, the 640x480x4 video mode supports colors by using a certain 16-items palette; therefore, the background image is displayed using the color table stored inside the .ezb file.

However, I find this to be utterly inappropriate behavior, as it leads to (apparent) screen corruption when the CD is booted.

I should mention that the rendering in the preview window of EasyBoot is incorrect, in this respect (this is why I chose to post in the "bugs" forum instead of the "suggestions" one).

I suggest this matter be adressed as follows:
1. Change the preview code to use the .ezb color table when rendering the background bitmap (in the 640x480x4 mode);
2. Offer an option to import into the .EZB the color table from the .BMP file when choosing it, if the selected mode is the legacy one (for the VESA ones, it would be quite useless).

There would be a second problem, too. Your mouse drawing code is hardcoded to use the first and the last entries in the palette. This may lead to unfortunate looks of the boot CD interface, if color 0x00 is not the darkest and/or color 0x0f is not the lightest.

Since there is no way to guarantee the palette is sorted by brightness by default, I see two reasonable approaches to this issue:
1. You may choose to silently order the palette in the .BMP file upon opening
Code Sample
luminance( R, G, B )=sqrt( sqr( R ) + sqr( G ) + sqr ( B ) )

2. Even better - let the user choose the colors to be used for drawing the mouse.

Looking forward to hear from you,
Mircea.
Offline
Top of Page Profile Contact Info 
 Post Number: 2
xoben Search for posts by this member.

Avatar



Group: Super Administrators
Posts: 2200
Joined: Nov. 2004
PostIcon Posted on: Mar. 24 2006,03:27 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Thanks mionica for your suggestions. Please check your PM for an answer.
Offline
Top of Page Profile Contact Info 
 Post Number: 3
mionica Search for posts by this member.

Avatar



Group: Members
Posts: 49
Joined: Apr. 2005
PostIcon Posted on: Mar. 26 2006,21:50 Skip to the previous post in this topic.  Ignore posts   QUOTE

In EasyBoot 5.0.9.553 it works correctly - I have just tested it.

Regards.
Offline
Top of Page Profile Contact Info 
2 replies since Mar. 23 2006,18:05 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


 
reply to topic new topic new poll

» Quick Reply EasyBoot 4bit colors
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code