[fpc-devel] Correlation between TFPColor and RGB values (possible inconsistencies)

Michael Van Canneyt michael at freepascal.org
Wed Feb 17 13:49:55 CET 2010

On Wed, 17 Feb 2010, Graeme Geldenhuys wrote:

> Michael Van Canneyt wrote:
>> You happen choose to use the ratio as the basis of your definition.
>> Someone else may decide on some other definition. Who is right ?
>> Like I said, you must have a 48-bit definition of Maroon.
>> Only then you can correctly define maroon in TFPColor.
> Michael, didn't you write fpImage (as far as I know)? So what color metric
> did you use?  :-)
> SubVersion history only goes back to 2005 when it was imported from CVS, so
> I do not have a full history of fpimage.pp unit and can't tell who the
> original author was.

Luk Vandelaer, my collega and friend, implemented it under my supervision.
My responses are based on my discussions with him.

fpImage by itself does not use presuppose any metric. 
There are various conversion mechanisms implemented, that is all.


More information about the fpc-devel mailing list