Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImageEncodingProperties.CreateJpeg | createJpeg method

Applies to Windows and Windows Phone

Creates an instance of ImageEncodingProperties for a JPEG image.

Syntax


var imageEncodingProperties = Windows.Media.MediaProperties.ImageEncodingProperties.createJpeg();

Parameters

This method has no parameters.

Return value

Type: ImageEncodingProperties

The properties for the image stream.

Examples

The following example creates the properties for a Jpeg stream.


function createJpegProperties() {
    var jpegProperties = new Windows.Media.MediaProperties.ImageEncodingProperties();
    jpegProperties = Windows.Media.MediaProperties.ImageEncodingProperties.createJpeg();
}


Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.MediaProperties
Windows::Media::MediaProperties [C++]

Metadata

Windows.winmd

See also

ImageEncodingProperties

 

 

Show:
© 2014 Microsoft