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


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


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.


User avatar
Posts: 2534
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


Good to know this Hans, specially since [ScreenBits] is not in the help file right now. ;)
Enhance your NeoBook applications!
58 plugins, 1131 actions and 233 samples
NeoPlugins website:
User avatar
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.
Greetings/Saludos, Jose.
User avatar
Posts: 298
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