C# 클래스 TrakHound_UI.Functions.Images

파일 보기 프로젝트 열기: TrakHound/TrakHound-Community

공개 메소드들

메소드 설명
BitmapImage2Bitmap ( BitmapImage bitmapImage ) : Bitmap
BufferFromImage ( BitmapImage imageSource ) : Byte[]
CalculateAverageColor ( Bitmap bm ) : Color
ImageFromBuffer ( Byte bytes ) : BitmapImage
OpenImageBrowse ( string title ) : string
SetImageSize ( System.Windows.Media.ImageSource Source, int Width ) : BitmapImage
SetImageSize ( System.Windows.Media.ImageSource Source, int Width, int Height ) : BitmapImage
SourceFromImage ( System img ) : BitmapImage

메소드 상세

BitmapImage2Bitmap() 공개 정적인 메소드

public static BitmapImage2Bitmap ( BitmapImage bitmapImage ) : Bitmap
bitmapImage System.Windows.Media.Imaging.BitmapImage
리턴 System.Drawing.Bitmap

BufferFromImage() 공개 정적인 메소드

public static BufferFromImage ( BitmapImage imageSource ) : Byte[]
imageSource System.Windows.Media.Imaging.BitmapImage
리턴 Byte[]

CalculateAverageColor() 공개 정적인 메소드

public static CalculateAverageColor ( Bitmap bm ) : Color
bm System.Drawing.Bitmap
리턴 System.Drawing.Color

ImageFromBuffer() 공개 정적인 메소드

public static ImageFromBuffer ( Byte bytes ) : BitmapImage
bytes Byte
리턴 System.Windows.Media.Imaging.BitmapImage

OpenImageBrowse() 공개 정적인 메소드

public static OpenImageBrowse ( string title ) : string
title string
리턴 string

SetImageSize() 공개 정적인 메소드

public static SetImageSize ( System.Windows.Media.ImageSource Source, int Width ) : BitmapImage
Source System.Windows.Media.ImageSource
Width int
리턴 System.Windows.Media.Imaging.BitmapImage

SetImageSize() 공개 정적인 메소드

public static SetImageSize ( System.Windows.Media.ImageSource Source, int Width, int Height ) : BitmapImage
Source System.Windows.Media.ImageSource
Width int
Height int
리턴 System.Windows.Media.Imaging.BitmapImage

SourceFromImage() 공개 정적인 메소드

public static SourceFromImage ( System img ) : BitmapImage
img System
리턴 System.Windows.Media.Imaging.BitmapImage