private static bool IsGreyScale(Bitmap bmp) { var sampleLinePercentages = new[] { 20, 50, 70 }; return sampleLinePercentages.Any(sampleLine => GetIsGrey(bmp, (int)(bmp.Height * (sampleLine / 100.0)))); }