C# 클래스 Softbuild.Media.WriteableBitmapSaveExtensions

파일 보기 프로젝트 열기: CH3COOH/Softbuild.Media

공개 메소드들

메소드 설명
SaveAsync ( this bmp, ImageDirectories directory, ImageFormat format, string fileNameWithoutExtension ) : System.Threading.Tasks.Task

画像を指定したフォーマットでストレージへ保存する

SaveAsync ( this bmp, ImageDirectories directory, ImageFormat format, string fileNameWithoutExtension, uint encodeWidth, uint encodeHeight ) : System.Threading.Tasks.Task

画像を指定したフォーマットでストレージへ保存する

SaveAsync ( this bmp, ImageFormat format, StorageFile file, uint encodeWidth, uint encodeHeight, bool isAspectRatio = true, double dpiX = 96.0, double dpiY = 96.0 ) : System.Threading.Tasks.Task

画像を指定したフォーマットでストレージへ保存する

SaveAsync ( this bmp, StorageFile file ) : System.Threading.Tasks.Task
SaveAsync ( this bmp, StorageFile file, ImageFormat format ) : System.Threading.Tasks.Task
SaveAsync ( this bmp, StorageFile file, uint encodeWidth, uint encodeHeight ) : System.Threading.Tasks.Task
SaveAsync ( this bmp, string fileNameWithoutExtension ) : System.Threading.Tasks.Task

画像をJPEGフォーマットでピクチャーライブラリへ保存する

메소드 상세

SaveAsync() 공개 정적인 메소드

画像を指定したフォーマットでストレージへ保存する
public static SaveAsync ( this bmp, ImageDirectories directory, ImageFormat format, string fileNameWithoutExtension ) : System.Threading.Tasks.Task
bmp this 保存するWriteableBitmapオブジェクト
directory ImageDirectories 保存先のディレクトリ種別
format ImageFormat 画像フォーマット種別
fileNameWithoutExtension string 拡張子を除く保存ファイル名
리턴 System.Threading.Tasks.Task

SaveAsync() 공개 정적인 메소드

画像を指定したフォーマットでストレージへ保存する
public static SaveAsync ( this bmp, ImageDirectories directory, ImageFormat format, string fileNameWithoutExtension, uint encodeWidth, uint encodeHeight ) : System.Threading.Tasks.Task
bmp this 保存するWriteableBitmapオブジェクト
directory ImageDirectories 保存先のディレクトリ種別
format ImageFormat 画像フォーマット種別
fileNameWithoutExtension string 拡張子を除く保存ファイル名
encodeWidth uint エンコード後の画像の幅
encodeHeight uint エンコード後の画像の高さ
리턴 System.Threading.Tasks.Task

SaveAsync() 공개 정적인 메소드

画像を指定したフォーマットでストレージへ保存する
public static SaveAsync ( this bmp, ImageFormat format, StorageFile file, uint encodeWidth, uint encodeHeight, bool isAspectRatio = true, double dpiX = 96.0, double dpiY = 96.0 ) : System.Threading.Tasks.Task
bmp this 保存するWriteableBitmapオブジェクト
format ImageFormat 画像フォーマット種別
file Windows.Storage.StorageFile
encodeWidth uint エンコード後の画像の幅
encodeHeight uint エンコード後の画像の高さ
isAspectRatio bool エンコード後の画像のサイズのアスペクト比を維持する
dpiX double 保存後の水平方向の解像度(dpi)
dpiY double 保存後の直立方向の解像度(dpi)
리턴 System.Threading.Tasks.Task

SaveAsync() 공개 정적인 메소드

public static SaveAsync ( this bmp, StorageFile file ) : System.Threading.Tasks.Task
bmp this
file Windows.Storage.StorageFile
리턴 System.Threading.Tasks.Task

SaveAsync() 공개 정적인 메소드

public static SaveAsync ( this bmp, StorageFile file, ImageFormat format ) : System.Threading.Tasks.Task
bmp this
file Windows.Storage.StorageFile
format ImageFormat
리턴 System.Threading.Tasks.Task

SaveAsync() 공개 정적인 메소드

public static SaveAsync ( this bmp, StorageFile file, uint encodeWidth, uint encodeHeight ) : System.Threading.Tasks.Task
bmp this
file Windows.Storage.StorageFile
encodeWidth uint
encodeHeight uint
리턴 System.Threading.Tasks.Task

SaveAsync() 공개 정적인 메소드

画像をJPEGフォーマットでピクチャーライブラリへ保存する
public static SaveAsync ( this bmp, string fileNameWithoutExtension ) : System.Threading.Tasks.Task
bmp this 保存するWriteableBitmapオブジェクト
fileNameWithoutExtension string 拡張子を除く保存ファイル名
리턴 System.Threading.Tasks.Task