class Google::Apis::TranscoderV1::Color
Color
preprocessing configuration. Note: This configuration is not supported.
Attributes
Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0. Corresponds to the JSON property ‘brightness` @return [Float]
Control black and white contrast of the video. Enter a value between -1 and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no change. The default is 0. Corresponds to the JSON property ‘contrast` @return [Float]
Control color saturation of the video. Enter a value between -1 and 1, where - 1 is fully desaturated and 1 is maximum saturation. 0 is no change. The default is 0. Corresponds to the JSON property ‘saturation` @return [Float]
Public Class Methods
# File lib/google/apis/transcoder_v1/classes.rb, line 335 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/transcoder_v1/classes.rb, line 340 def update!(**args) @brightness = args[:brightness] if args.key?(:brightness) @contrast = args[:contrast] if args.key?(:contrast) @saturation = args[:saturation] if args.key?(:saturation) end