On Sat, 2009-12-26 at 13:51 +0100, Louise Hoffman wrote:
> Dear developers,
> 
> I am trying to make a GIMP plugin that can open a new drawable on the
> screen. Just like when you make one from File->New.
> 
> It should be 800x600 24bit greyscale.

File->New creates a new image, not a new drawable.

Your code writes to the GimpDrawable struct, but this struct is
read-only and must not be written to by the plug-in. I suggest that you
take a look at other plug-ins that create new images.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to