C# Class CSharpImageLibrary.WIC_Codecs

Provides native Windows codec functionality for Windows 8.1+.
Exibir arquivo Open project: KFreon/CSharpImageLibrary Class Usage Examples

Public Properties

Property Type Description
JPGCompressionSetting int

Private Methods

Method Description
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.

Property Details

JPGCompressionSetting public_oe static_oe property

JPG Quality setting. Higher values = higher quality and image size.
public static int JPGCompressionSetting
return int