Gimp.brush_get_pixels

function brush_get_pixels(name: String): [ok: Boolean, width: Number(gint), height: Number(gint), mask_bpp: Number(gint), mask_bytes: ByteArray, color_bpp: Number(gint), color_bytes: ByteArray] {
    // Gjs wrapper for gimp_brush_get_pixels()
}
  

Retrieves information about the specified brush.

This procedure retrieves information about the specified brush. This includes the brush extents (width and height) and its pixels data.

Since 2.2

name

The brush name.

ok

TRUE on success.

width

The brush width.

height

The brush height.

mask_bpp

The brush mask bpp.

mask_bytes

The brush mask data.

color_bpp

The brush color bpp.

color_bytes

The brush color data.