Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

16-Bit RGB-565 color functions

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here
View previous topic :: View next topic  
Author Message
Netzman

Bascom Expert



Joined: 25 Nov 2005
Posts: 132
Location: Graz

austria.gif
PostPosted: Mon Apr 20, 2015 9:03 pm    Post subject: 16-Bit RGB-565 color functions Reply with quote

Hi,

these are fast functions to convert 24-Bit RGB-888 colors to 16-Bit RGB-565 colors and vice versa and a function to directly blend two 16-Bit colors together. Uses fast integer math.
Also includes a list of 500+ predefined, named colors and an Excel-sheet with their preview.

http://mat.midlight.eu/wiki/index.php/Color-565_Library

br

_________________
LCD Menu | Proportional Fonts
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6198
Location: Holland

blank.gif
PostPosted: Mon Apr 20, 2015 10:38 pm    Post subject: Reply with quote

Thank you for sharing. conversion from one format to the other is tricky. Great that you made this available Smile
_________________
Mark
Back to top
View user's profile Visit poster's website
murrayb

Bascom Member



Joined: 25 Jun 2009
Posts: 1

blank.gif
PostPosted: Fri Jun 23, 2017 8:06 pm    Post subject: Reply with quote

Thank!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum