title: How can I calculate the dominant color of a TBitmap in Firemonkey?
body: <p>Is there a quick way to calculate the dominant color (the most common color) in a bitmap in Firemonkey?</p>
  
  <p>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?</p>