C# 클래스 GeekyTool.Core.Common.EncodeHelper

파일 보기 프로젝트 열기: GeekyTheory/GeekyTool

공개 메소드들

메소드 설명
ConvertByteArrayToBitmapImage ( byte byteValue ) : Task
FromBase64 ( string base64 ) : Task
GetStreamToBytesAsync ( IRandomAccessStream fileStream ) : Task
ImageToByteArrayAsync ( StorageFile file ) : Task
ToBase64 ( BitmapImage bitmap ) : Task
ToBase64 ( Image control ) : Task
ToBase64 ( RenderTargetBitmap bitmap ) : Task
ToBase64 ( StorageFile bitmap ) : Task
ToBase64 ( WriteableBitmap bitmap ) : Task
ToBase64 ( byte image, uint height, uint width, double dpiX = 96, double dpiY = 96 ) : Task

메소드 상세

ConvertByteArrayToBitmapImage() 공개 정적인 메소드

public static ConvertByteArrayToBitmapImage ( byte byteValue ) : Task
byteValue byte
리턴 Task

FromBase64() 공개 정적인 메소드

public static FromBase64 ( string base64 ) : Task
base64 string
리턴 Task

GetStreamToBytesAsync() 공개 정적인 메소드

public static GetStreamToBytesAsync ( IRandomAccessStream fileStream ) : Task
fileStream IRandomAccessStream
리턴 Task

ImageToByteArrayAsync() 공개 정적인 메소드

public static ImageToByteArrayAsync ( StorageFile file ) : Task
file Windows.Storage.StorageFile
리턴 Task

ToBase64() 공개 정적인 메소드

public static ToBase64 ( BitmapImage bitmap ) : Task
bitmap Windows.UI.Xaml.Media.Imaging.BitmapImage
리턴 Task

ToBase64() 공개 정적인 메소드

public static ToBase64 ( Image control ) : Task
control Image
리턴 Task

ToBase64() 공개 정적인 메소드

public static ToBase64 ( RenderTargetBitmap bitmap ) : Task
bitmap RenderTargetBitmap
리턴 Task

ToBase64() 공개 정적인 메소드

public static ToBase64 ( StorageFile bitmap ) : Task
bitmap Windows.Storage.StorageFile
리턴 Task

ToBase64() 공개 정적인 메소드

public static ToBase64 ( WriteableBitmap bitmap ) : Task
bitmap Windows.UI.Xaml.Media.Imaging.WriteableBitmap
리턴 Task

ToBase64() 공개 정적인 메소드

public static ToBase64 ( byte image, uint height, uint width, double dpiX = 96, double dpiY = 96 ) : Task
image byte
height uint
width uint
dpiX double
dpiY double
리턴 Task