Gimp.Pattern.get_pixels
@accepts(Gimp.Pattern, int, int, int, GLib.Bytes)
@returns(bool)
def get_pixels(self, width, height, bpp, color_bytes):
# Python wrapper for gimp_pattern_get_pixels()
Gets information about the pattern (including pixels).
Gets information about the pattern: the pattern extents (width and height), its bpp, and its pixel data. The pixel data is an array in C or a list in some languages.
Since 2.2
- self
The pattern.
- width
The pattern width.
- height
The pattern height.
- bpp
The pattern bpp.
- color_bytes
The pattern data.
- Returns