gimppattern 3 LIBGIMP Library gimppatternFunctions operating on a single pattern. Synopsis gboolean gimp_pattern_get_info (const gchar *name, gint *width, gint *height, gint *bpp); gboolean gimp_pattern_get_pixels (const gchar *name, gint *width, gint *height, gint *bpp, gint *num_color_bytes, guint8 **color_bytes); Description Functions operating on a single pattern. Details <anchor id="gimp-pattern-get-info"/>gimp_pattern_get_info () gimp_pattern_get_infogboolean gimp_pattern_get_info (const gchar *name, gint *width, gint *height, gint *bpp); Retrieve information about the specified pattern. This procedure retrieves information about the specified pattern. This includes the pattern extents (width and height). name : The pattern name. width : The pattern width. height : The pattern height. bpp : The pattern bpp. Returns : TRUE on success. Since GIMP 2.2 <anchor id="gimp-pattern-get-pixels"/>gimp_pattern_get_pixels () gimp_pattern_get_pixelsgboolean gimp_pattern_get_pixels (const gchar *name, gint *width, gint *height, gint *bpp, gint *num_color_bytes, guint8 **color_bytes); 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. 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 : TRUE on success. Since GIMP 2.2