ImageEncodingProperties ImageEncodingProperties ImageEncodingProperties ImageEncodingProperties ImageEncodingProperties Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Describes the format of an image stream.

public : sealed class ImageEncodingProperties : IImageEncodingProperties, IMediaEncodingProperties
struct winrt::Windows::Media::MediaProperties::ImageEncodingProperties : IImageEncodingProperties, IMediaEncodingProperties
public sealed class ImageEncodingProperties : IImageEncodingProperties, IMediaEncodingProperties
Public NotInheritable Class ImageEncodingProperties Implements IImageEncodingProperties, IMediaEncodingProperties
var imageEncodingProperties = new imageEncodingProperties();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

For how-to guidance for using ImageEncodingProperties to set the encoding properties for captured images, see Basic photo, video, and audio capture with MediaCapture.

Constructors

ImageEncodingProperties() ImageEncodingProperties() ImageEncodingProperties() ImageEncodingProperties() ImageEncodingProperties()

Creates a new instance of the ImageEncodingProperties class.

Properties

Height Height Height Height Height

Gets or sets the image height.

Properties Properties Properties Properties Properties

Gets additional format properties for the image stream.

Subtype Subtype Subtype Subtype Subtype

Gets or sets the subtype of the format.

Type Type Type Type Type

Gets the format type.

Width Width Width Width Width

Gets or sets the image width.

Methods

Copy() Copy() Copy() Copy() Copy()

Prerelease. Creates a copy of the ImageEncodingProperties object.

CreateBmp() CreateBmp() CreateBmp() CreateBmp() CreateBmp()

Creates an instance of ImageEncodingProperties for a BMP image.

CreateJpeg() CreateJpeg() CreateJpeg() CreateJpeg() CreateJpeg()

Creates an instance of ImageEncodingProperties for a JPEG image.

CreateJpegXR() CreateJpegXR() CreateJpegXR() CreateJpegXR() CreateJpegXR()

Creates an instance of ImageEncodingProperties for a JPEG XR image.

CreatePng() CreatePng() CreatePng() CreatePng() CreatePng()

Creates an instance of ImageEncodingProperties for a PNG image.

CreateUncompressed(MediaPixelFormat) CreateUncompressed(MediaPixelFormat) CreateUncompressed(MediaPixelFormat) CreateUncompressed(MediaPixelFormat) CreateUncompressed(MediaPixelFormat)

Creates an instance of ImageEncodingProperties for an uncompressed image.

See Also