public ColorBalance() : base(FilterType, FilterMaxInputs) { Shadow = new FFmpegScaleRgb(); Midtone = new FFmpegScaleRgb(); Highlight = new FFmpegScaleRgb(); }
public ColorBalance(FFmpegScaleRgb shadows, FFmpegScaleRgb midtones, FFmpegScaleRgb highlights) : base(FilterType, FilterMaxInputs) { if (shadows == null) { throw new ArgumentNullException("shadows"); } if (midtones == null) { throw new ArgumentNullException("midtones"); } if (highlights == null) { throw new ArgumentNullException("highlights"); } Shadow = shadows; Midtone = midtones; Highlight = highlights; }