diff --git a/vsexprtools/exprop.py b/vsexprtools/exprop.py index fad9936..5802323 100644 --- a/vsexprtools/exprop.py +++ b/vsexprtools/exprop.py @@ -72,7 +72,7 @@ def get_value(self, clip: vs.VideoNode, chroma: bool = False, range_in: ColorRan return get_neutral_value(clip) if self is ExprToken.RangeSize: - return (val := get_peak_value(clip)) + (1 - (val <= 1.0)) + return (val := get_peak_value(clip, range_in=ColorRange.FULL)) + (1 - (val <= 1.0)) if self is ExprToken.RangeMin: return get_lowest_value(clip, chroma)