11.12.2021, 15:15
- R/G/B/A and Offset should allow both positive and negative values from -255.00 to +255.00.
- Gamma is missing. That should appear below Offset as Gamma R/G/B/A, with default values of 1.00 which means leave clip untouched.
http://avisynth.nl/index.php/RGBAdjust
The above link doesn't specify minimum / maximum values for Offset (Bias) or Gamma but all allowed values should be:
R/G/B/A: -255.00 to +255.00
Offset (Bias) R/G/B/A: -255.00 to +255.00
Gamma R/G/B/A: +0.01 to +255.00
(Gamma values of 0.00 or below (negative) will cause an error.)
Inserted script line at defaults should be:
RGBAdjust(1.00,1.00,1.00,1.00,0.00,0.00,0.00,0.00,1.00,1.00,1.00,1.00,analyze=false,dither=false)
I verified via custom script that the above works with expected results and no errors.
Current incorrect behavior is R/G/B/A allows -100.00 to +100.00 (should be -255.00 to +255.00), Offset R/G/B/A allows 0.00 to 255.00 (should be -255.00 to +255.00), and Gamma is missing entirely.