Skip to content

ImageFilterContrast

ImageFilterContrast#

(Contrast)

No corresponding User page.

Description#

Adjust the constrast of the image.

Public Attributes#

Type Name Visual Hint Description
double contrast VISUAL_HINT_PERCENTAGE Set contrast.

Inherited Public Attributes#

Type Name Visual Hint Description
bool channel_r VISUAL_HINT_DEFAULT Whether this filter affects the red channel or not.
bool channel_g VISUAL_HINT_DEFAULT Whether this filter affects the green channel or not.
bool channel_b VISUAL_HINT_DEFAULT Whether this filter affects the blue channel or not.
bool channel_a VISUAL_HINT_DEFAULT Whether this filter affects the alpha channel or not.
bool channel_z VISUAL_HINT_DEFAULT Whether this filter affects the Z channel or not.

CID#

class "ImageFilterContrast" "PixelFilter" {
    #version 0.9
    icon "../icons/object_icons/filter_contrast.iconrc"
    category "ImageFilter"
    doc "Adjust the constrast of the image."
    percentage "contrast" {
        doc "Set contrast."
        animatable yes
        slider yes
        numeric_range yes -1 1
        ui_range yes -1 1
        value 0.0
    }
}