On Wed, 8 Jul 2015, aradeonas wrote:
Hi,
Today I saw Color thief and I was impressed.I like to have something like this
in my application so I reviewed the code but I dont know how to implement this
in FreePascal or couldn't find anything like
this in Pascal that do as good as this.
Any one know about a library like this in Pascal or Delphi or probably write
similar to this?
TFPCustomImage can do this for you.
Load the image, set UsePalette:=True, and then the palette is available in the Palette property.
Michael.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus