Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::JpgImage
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-05-01/generated/azure_mgmt_media_services/models/jpg_image.rb
Overview
Describes the properties for producing a series of JPEG images from the input video.
Instance Attribute Summary collapse
-
#layers ⇒ Array<JpgLayer>
be produced by the encoder.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
-
#sprite_column ⇒ Integer
image.
Attributes inherited from Image
Attributes inherited from Video
#key_frame_interval, #stretch_mode, #sync_mode
Attributes inherited from Codec
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JpgImage class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ JpgImage
constructor
A new instance of JpgImage.
Constructor Details
#initialize ⇒ JpgImage
Returns a new instance of JpgImage.
17 18 19 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/jpg_image.rb', line 17 def initialize @odatatype = "#Microsoft.Media.JpgImage" end |
Instance Attribute Details
#layers ⇒ Array<JpgLayer>
be produced by the encoder.
25 26 27 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/jpg_image.rb', line 25 def layers @layers end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
21 22 23 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/jpg_image.rb', line 21 def odatatype @odatatype end |
#sprite_column ⇒ Integer
image. The number of rows are automatically calculated and a VTT file is generated with the coordinate mappings for each thumbnail in the sprite. Note: this value should be a positive integer and a proper value is recommended so that the output image resolution will not go beyond JPEG maximum pixel resolution limit 65535x65535.
33 34 35 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/jpg_image.rb', line 33 def sprite_column @sprite_column end |
Class Method Details
.mapper ⇒ Object
Mapper for JpgImage class as Ruby Hash. This will be used for serialization/deserialization.
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/jpg_image.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.JpgImage', type: { name: 'Composite', class_name: 'JpgImage', model_properties: { label: { client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, key_frame_interval: { client_side_validation: true, required: false, serialized_name: 'keyFrameInterval', type: { name: 'TimeSpan' } }, stretch_mode: { client_side_validation: true, required: false, serialized_name: 'stretchMode', type: { name: 'String' } }, sync_mode: { client_side_validation: true, required: false, serialized_name: 'syncMode', type: { name: 'String' } }, start: { client_side_validation: true, required: true, serialized_name: 'start', type: { name: 'String' } }, step: { client_side_validation: true, required: false, serialized_name: 'step', type: { name: 'String' } }, range: { client_side_validation: true, required: false, serialized_name: 'range', type: { name: 'String' } }, layers: { client_side_validation: true, required: false, serialized_name: 'layers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'JpgLayerElementType', type: { name: 'Composite', class_name: 'JpgLayer' } } } }, sprite_column: { client_side_validation: true, required: false, serialized_name: 'spriteColumn', type: { name: 'Number' } } } } } end |