It depends on the pixel format which the image uses. After you read
them you can get a TColor with:

function RGBToColor(R, G, B: Byte): TColor;

from unit Graphics

Note that TColor doesn't support Alpha

-- 
Felipe Monteiro de Carvalho

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to