HistogramTableSize example for Delphi

   if ((LEADImage1.BitmapBits = 64) Or
      (LEADImage1.BitmapBits = 48)) Then

      LEADImage1.HistogramTableSize:= 65536
   else
      LEADImage1.HistogramTableSize:= 256;