# Gimp.pattern_get_pixels

    function pattern_get_pixels(name: String): [ok: Boolean, width: Number(gint), height: Number(gint), bpp: Number(gint), color_bytes: ByteArray] {
        // Gjs 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.

ok

  TRUE on success.

width

  The pattern width.

height

  The pattern height.

bpp

  The pattern bpp.

color_bytes

  The pattern data.