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
Hi,
On Mon, 2007-04-16 at 09:16 -0400,
[EMAIL PROTECTED] wrote:
I don't understand your call to gimp_layer_new. Its arguments should be:
gimp_layer_new (GimpImage*image,
gint width,
gint height,
I may be misunderstanding you but it sounds as though you are trying
take a layer from one image and add it to another image directly.
Oh, no!. There are different layers created for different images. The
problem comes when i close the first image, and open a new image; then i
create this new
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.
Hi,
On Thu, 2007-04-12 at 04:34 -0700, coolhand wrote:
When i open an image of my format, I create an multiple-layer image. With
this image, i work normally. If i open other image of this format, i can
work normally with both images.
The problem is that when i open the first image, then
Quoting coolhand [EMAIL PROTECTED]:
The problem is that when i open the first image, then close it and then i
open the second, gimp_drawable_get_image returns me -1. ¿Why this?
Ok, sorry. I have to read a new format of image. This images have X layers.
1) I create one image: image =
Hi,
On Thu, 2007-04-12 at 04:34 -0700, coolhand wrote:
When i open an image of my format, I create an multiple-layer image. With
this image, i work normally. If i open other image of this format, i can
work normally with both images.
The problem is that when i open the first image, then