Gimp.Drawable.prototype.equalize

function equalize(mask_only: Boolean): Boolean {
    // Gjs wrapper for gimp_drawable_equalize()
}
  

Equalize the contents of the specified drawable.

This procedure equalizes the contents of the specified drawable. Each intensity channel is equalized independently. The equalized intensity is given as inten' = (255 - inten). The 'mask_only' option specifies whether to adjust only the area of the image within the selection bounds, or the entire image based on the histogram of the selected area. If there is no selection, the entire image is adjusted based on the histogram for the entire image.

Since 2.10

mask_only

Equalization option.

Returns

TRUE on success.