Share via


JpgLayer Constructors

Definition

Overloads

JpgLayer()

Initializes a new instance of the JpgLayer class.

JpgLayer(String, String, String, Nullable<Int32>)

Initializes a new instance of the JpgLayer class.

JpgLayer()

Initializes a new instance of the JpgLayer class.

public JpgLayer ();
Public Sub New ()

Applies to

JpgLayer(String, String, String, Nullable<Int32>)

Initializes a new instance of the JpgLayer class.

public JpgLayer (string width = default, string height = default, string label = default, int? quality = default);
new Microsoft.Azure.Management.Media.Models.JpgLayer : string * string * string * Nullable<int> -> Microsoft.Azure.Management.Media.Models.JpgLayer
Public Sub New (Optional width As String = Nothing, Optional height As String = Nothing, Optional label As String = Nothing, Optional quality As Nullable(Of Integer) = Nothing)

Parameters

width
String

The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in width as the input.

height
String

The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in height as the input.

label
String

The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.

quality
Nullable<Int32>

The compression quality of the JPEG output. Range is from 0-100 and the default is 70.

Applies to