Contrast

      Last updated May 18, 2020

    The contrast parameter increases or decreases the difference between the darkest and lightest tones in an image.

    API Pattern

    contrast={value}

    Parameter

    Parameter Description
    contrast Contrast of the output image.

    Parameter Values

    Value Description
    Integer A whole number between -100 and 100.
    Float Decimal number between -100.00 and 100.00.

    Notes

    1. The default value is 0. This leaves the image unchanged.
    2. Valid values range from -100 to 100
    3. A value of -100 will generate a neutral gray image.

    Examples

    Description HTML Demo
    Increase Contrast - Increase the contrast of the image by 25. <img src="image.jpg?contrast=25"/> Example
    Back to Top