How can I calculate the dominant color of a TBitmap in Firemonkey?

  

Is there a quick way to calculate the dominant color (the most common color) in a bitmap in Firemonkey?

Or is there an option in FMX to reduce the number of colors when using a color palette, e.g. as in Vcl.Imaging.GIFImg?

Comments are closed.