Source language: Translate to:

neobook and colors on different ScreenBits

NeoBook tips, tricks, code samples and more...

Moderator: Neosoft Support

neobook and colors on different ScreenBits

Postby HPW » Tue Mar 26, 2013 1:38 am

Hello,

Thanks to neosoft we got now [ScreenBits]
It allows you to react on different color depth of target systems.

Why?

You should know that there are different color-systems in neobook and its plugin world.
In my plugins I support different ways of setting colors.

I do not see 8bit any more as a problem since that systems seems to have gone.
But I see still some 16 Bit system with 64K color range.

And here you can ran into problem:
Color constants like clSilver or clGray produces different colors on 16 bit and >= 24 bit systems.
Also RGB values which does not match exactly a 16 bit color gets map by the system to the nearest color.

So be carefull in your code when you use such color and wants to analyse the bitmap or search into the bitmap later.

Regards

Hans-Peter
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: neobook and colors on different ScreenBits

Postby dec » Tue Mar 26, 2013 9:41 am

Hello,

Good to know this Hans, specially since [ScreenBits] is not in the help file right now. ;)
.
Enhance your NeoBook applications!
.
57 plugins, 1113 actions and 230 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Re: neobook and colors on different ScreenBits

Postby CN_Iceman » Tue Mar 26, 2013 11:49 am

Good to know Hans.
Thank's.
Greetings/Saludos, Jose.
www.icemansoft.es
User avatar
CN_Iceman
 
Posts: 297
Joined: Tue Mar 01, 2011 11:04 am
Location: España


Return to NeoBook Knowledgebase

Who is online

Users browsing this forum: No registered users and 1 guest

cron