Gimp.Drawable.posterize

### Method

# Gimp Drawableposterize

since: 2.10

#### Declaration [src]

    gboolean
    gimp_drawable_posterize (
      GimpDrawable* drawable,
      gint levels
    )

#### Description [src]

Posterize the specified drawable.

This procedures reduces the number of shades allows in each intensity channel to the specified ‘levels’ parameter.

Available since: 2.10

#### Parameters

`levels`

  Type: `gint`

  Levels of posterization.

#### Return value

Type: `gboolean`

TRUE on success.