gimp-gegl-utils

gimp-gegl-utils

Synopsis

const Babl *        gimp_bpp_to_babl_format             (guint bpp,
                                                         gboolean linear);
TileManager *       gimp_buffer_to_tiles                (GeglBuffer *buffer);
const gchar *       gimp_interpolation_to_gegl_filter   (GimpInterpolationType interpolation);
const gchar *       gimp_layer_mode_to_gegl_operation   (GimpLayerModeEffects mode);

Description

Details

gimp_bpp_to_babl_format ()

const Babl *        gimp_bpp_to_babl_format             (guint bpp,
                                                         gboolean linear);

Return the Babl format to use for a given number of bytes per pixel. This function assumes that the data is 8bit.

bpp :

bytes per pixel

linear :

whether the pixels are linear or gamma-corrected.

Returns :

the Babl format to use

gimp_buffer_to_tiles ()

TileManager *       gimp_buffer_to_tiles                (GeglBuffer *buffer);


gimp_interpolation_to_gegl_filter ()

const gchar *       gimp_interpolation_to_gegl_filter   (GimpInterpolationType interpolation);


gimp_layer_mode_to_gegl_operation ()

const gchar *       gimp_layer_mode_to_gegl_operation   (GimpLayerModeEffects mode);