Re: Plugin that can open a drawable on screen. What am I doing wrong?

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

 



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@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