C# Класс Softbuild.Media.WriteableBitmapSaveExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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