Gimp.pattern_get_pixels

@accepts(unicode, int, int, int, int, [guint8])
@returns(bool)
def pattern_get_pixels(name, width, height, bpp, num_color_bytes, color_bytes):
    # Python wrapper for gimp_pattern_get_pixels()
  

Retrieve information about the specified pattern (including pixels).

This procedure retrieves information about the specified. This includes the pattern extents (width and height), its bpp and its pixel data.

Since 2.2

name

The pattern name.

width

The pattern width.

height

The pattern height.

bpp

The pattern bpp.

num_color_bytes

Number of pattern bytes.

color_bytes

The pattern data.

Returns