C# Класс CSharpImageLibrary.WIC_Codecs

Provides native Windows codec functionality for Windows 8.1+.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
JPGCompressionSetting int

Приватные методы

Метод Описание
AttemptUsingWindowsCodecs ( Stream stream, int decodeWidth, int decodeHeight ) : BitmapImage

Attempts to read image using WIC Codecs. Returns null if unable to.

AttemptUsingWindowsCodecs ( byte ImageFileData, int decodeWidth, int decodeHeight ) : BitmapImage

Attempts to read image using WIC Codecs. Returns null if unable to.

AttemptUsingWindowsCodecs ( string imagePath, int decodeWidth, int decodeHeight ) : BitmapImage

Attempts to read image using WIC Codecs. Returns null if unable to.

LoadWithCodecs ( Stream stream, int decodeWidth, int decodeHeight, double scale, bool isDDS ) : List

Loads useful information from image stream using Windows 8.1+ codecs.

LoadWithCodecs ( string imageFile, int decodeWidth, int decodeHeight, double scale, bool isDDS ) : List

Loads useful information from an image file.

SaveWithCodecs ( byte imageData, ImageEngineFormat format, int width, int height, AlphaSettings alphaSetting ) : byte[]
WindowsCodecsPresent ( ) : bool

Tests whether Windows WIC Codecs are present.

Описание свойств

JPGCompressionSetting публичное статическое свойство

JPG Quality setting. Higher values = higher quality and image size.
public static int JPGCompressionSetting
Результат int