C# Class Softbuild.Media.WriteableBitmapSaveExtensions

Mostrar archivo Open project: CH3COOH/Softbuild.Media

Public Methods

Method Description
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フォーマットでピクチャーライブラリへ保存する

Method Details

SaveAsync() public static method

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

SaveAsync() public static method

画像を指定したフォーマットでストレージへ保存する
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 エンコード後の画像の高さ
return System.Threading.Tasks.Task

SaveAsync() public static method

画像を指定したフォーマットでストレージへ保存する
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)
return System.Threading.Tasks.Task

SaveAsync() public static method

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

SaveAsync() public static method

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

SaveAsync() public static method

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
return System.Threading.Tasks.Task

SaveAsync() public static method

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