Re: gimp_drawable_get_image fails?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting coolhand <a6intruder@xxxxxxxxxxx>:
> 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@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux