[Lazarus] TColor($RRGGBB) -> TColor($BBGGRR)

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Tue Sep 27 17:29:43 CEST 2016


On 2016-09-27 16:20, Graeme Geldenhuys via Lazarus wrote:
> I can do the following myself with a simple function, but does LCL
> already contain a function that swaps the Red and Blue channel values?

I searched all of Graphics and GraphUtils and couldn't find anything
revelant, so I created a simple RGBtoBGR() function.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


More information about the Lazarus mailing list