clamp# cosmicjellyfish.analysis.fishconsumer.clamp(x)[source]# Clamp a value between 0 and 255. This function ensures a value is within the valid range for RGB color components. Parameters: x (int or float) – The value to clamp Returns: The clamped value between 0 and 255 Return type: int