Gimp.pattern_get_info

function pattern_get_info(name: String): [ok: Boolean, width: Number(gint), height: Number(gint), bpp: Number(gint)] {
    // Gjs wrapper for gimp_pattern_get_info()
}
  

Retrieve information about the specified pattern.

This procedure retrieves information about the specified pattern. This includes the pattern extents (width and height).

Since 2.2

name

The pattern name.

ok

TRUE on success.

width

The pattern width.

height

The pattern height.

bpp

The pattern bpp.