Quoting coolhand <[EMAIL PROTECTED]>:
> 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)
_______________________________________________
Gimp-developer mailing list
[email protected]
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer