Gimp.brush_get_pixels
@accepts(unicode, int, int, int, int, [guint8], int, int, [guint8])
@returns(bool)
def brush_get_pixels(name, width, height, mask_bpp, num_mask_bytes, mask_bytes, color_bpp, num_color_bytes, color_bytes):
# Python 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.
- width
The brush width.
- height
The brush height.
- mask_bpp
The brush mask bpp.
- num_mask_bytes
Length of brush mask data.
- mask_bytes
The brush mask data.
- color_bpp
The brush color bpp.
- num_color_bytes
Length of brush color data.
- color_bytes
The brush color data.
- Returns