op_contrast op-contrast

Adjust contrast. Adjusts the image contrast by increasing the brightness of pixels with more than 50% brightness, and reducing the brightness of pixels with less than 50% brightness.

op_contrast= *adj*

Contrast adjustment in percent (-100…100 int).

Properties section-d319ed55057344eab0a3c93f720acdbf

Layer command. Applies to the current layer or to the composite image if layer=comp. Ignored by effect layers.

Default section-896d1b1f7f084e929355a4684f3e833b

op_contrast=0, for no change in contrast. CMYK images or layers are converted to RGB before the operation is applied.

Example section-94bc4348b4bc4f0e9768ea1c45ca8340

Decrease the contrast and sharpness of a higher quality image layer to visually match it to a low-quality background photo:


A future release may use the median brightness of the image rather than a fixed 50% brightness.