[prev in list] [next in list] [prev in thread] [next in thread]
List: gimp-developer
Subject: Re: [Gimp-developer] gimp_drawable_get_image fails?
From: saulgoode () flashingtwelve ! brickfilms ! com
Date: 2007-04-16 13:16:37
Message-ID: 20070416091637.o45ga4z2v7404g8k () flashingtwelve ! brickfilms ! com
[Download RAW message or body]
Quoting coolhand <a6intruder@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)
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic