| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
const Babl* gimp_bpp_to_babl_format (guint bpp); const Babl* gimp_bpp_to_babl_format_linear (guint bpp);
const Babl* gimp_bpp_to_babl_format (guint bpp);
Return the Babl format to use for a given number of bytes per pixel. This function assumes that the data is 8bit gamma-corrected data.
|
bytes per pixel |
Returns : |
the Babl format to use |
const Babl* gimp_bpp_to_babl_format_linear (guint bpp);
Return the Babl format to use for a given number of bytes per pixel. This function assumes that the data is 8bit linear.
|
bytes per pixel |
Returns : |
the Babl format to use |