C# 클래스 Bloom.Edit.JpegWarningDialog

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop 1 사용 예제들

공개 메소드들

메소드 설명
JpegWarningDialog ( ) : System
ShouldWarnAboutJpeg ( Image image ) : System.Boolean

Tells whether the supplied image looks suspiciously like a file that would be better off as a PNG. Not particularly smart, but fast.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
GetIsGrey ( Bitmap bmp, int lineNumber ) : bool
GetNumberOfColors ( Bitmap bmp, int lineNumber ) : int
GetPercentWhiteOfLine ( Bitmap bmp, int lineNumber ) : double
HasLotsOfColor ( Bitmap bmp ) : bool
HasLotsOfWhiteSpace ( Bitmap bmp ) : bool
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

IsGreyScale ( Bitmap bmp ) : bool
_okButton_Click ( object sender, EventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

JpegWarningDialog() 공개 메소드

public JpegWarningDialog ( ) : System
리턴 System

ShouldWarnAboutJpeg() 공개 정적인 메소드

Tells whether the supplied image looks suspiciously like a file that would be better off as a PNG. Not particularly smart, but fast.
public static ShouldWarnAboutJpeg ( Image image ) : System.Boolean
image Image
리턴 System.Boolean