[Gimp-developer] gimp_drawable_get_image fails?
saulgoode at flashingtwelve.brickfilms.com
saulgoode at flashingtwelve.brickfilms.com
Mon Apr 16 06:16:37 PDT 2007
Quoting coolhand <a6intruder at mixmail.com>:
> and the get_band_data code:
>
> band->layer_id = gimp_layer_new (image, band->colorspace_name,
> band->width, band->height, GIMP_GRAY_IMAGE, 100.0, GIMP_NORMAL_MODE);
> drawable = gimp_drawable_get (band->layer_id);
I don't understand your call to gimp_layer_new. Its arguments should be:
gimp_layer_new (GimpImage *image,
gint width,
gint height,
GimpImageType type,
const gchar *name,
gdouble opacity,
GimpLayerModeEffects mode)
More information about the Gimp-developer
mailing list