C# Class ImageVisualizer.Helpers

Show file Open project: Jaex/ImageVisualizer

Public Methods

Method Description
CopyImage ( Image img ) : void
CreateCheckers ( int size, Color color1, Color color2 ) : Image
CreateCheckers ( int width, int height, Color color1, Color color2 ) : Image
DrawCheckers ( int width, int height ) : Image
GetFilenameExtension ( string filePath ) : string
GetImageFormat ( string filePath ) : ImageFormat
OpenURL ( string url ) : void
SaveImageAsFile ( Image img ) : string

Method Details

CopyImage() public static method

public static CopyImage ( Image img ) : void
img Image
return void

CreateCheckers() public static method

public static CreateCheckers ( int size, Color color1, Color color2 ) : Image
size int
color1 Color
color2 Color
return Image

CreateCheckers() public static method

public static CreateCheckers ( int width, int height, Color color1, Color color2 ) : Image
width int
height int
color1 Color
color2 Color
return Image

DrawCheckers() public static method

public static DrawCheckers ( int width, int height ) : Image
width int
height int
return Image

GetFilenameExtension() public static method

public static GetFilenameExtension ( string filePath ) : string
filePath string
return string

GetImageFormat() public static method

public static GetImageFormat ( string filePath ) : ImageFormat
filePath string
return System.Drawing.Imaging.ImageFormat

OpenURL() public static method

public static OpenURL ( string url ) : void
url string
return void

SaveImageAsFile() public static method

public static SaveImageAsFile ( Image img ) : string
img Image
return string