Here are the examples of the csharp api class Bloom.Edit.JpegWarningDialog.HasLotsOfColor(System.Drawing.Bitmap) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: BloomDesktop
Source File: JpegWarningDialog.cs
Source File: JpegWarningDialog.cs
public static Boolean ShouldWarnAboutJpeg(Image image) { var bmp = image as Bitmap; if (bmp == null) return false; //Note: currently I can't justify why initially I was testing for greyscale.... maybe the logic will return... return HasLotsOfWhiteSpace(bmp) && (/*IsGreyScale(bmp) || */!HasLotsOfColor(bmp)); }