Re: [Gimp-developer] Gimp 2.99 python3 plug-ins: writing a plugin to generate an image
Lloyd Konneker via gimp-developer-list <[email protected]>
| Newsgroups | gmane.comp.video.gimp.devel |
|---|---|
| Message-ID | <CANtdxPzu=gUNcyd09EGX=h6u06SmXc22rWCgi7hHs+390LrmWQ@mail.gmail.com> |
> is it possible writing a plug-in to generate an image without an opened
image?
Rephrasing the question: can you write a plugin whose menu item is always
enabled, even without an open image? That used to be possible, by passing
an empty string for the "image types" registration data. But your code
does not call procedure.set_image_types(""); Even so, in my experience
that does not work (at least for an image type procedure) in 2.99. I
don't know the answer for 2.99, maybe there is another way, or it is a
"feature" that fell by the wayside when much of the plugin capability was
migrated inside Gimp from PyGimp. Maybe just create a Gimp.Procedure
instead of a Gimp.ImageProcedure?
> How to create a GFile in scheme in 2.99?
I opened issue https://gitlab.gnome.org/GNOME/gimp/-/issues/5402 reporting
this. And I am working on a patch to Gimp. You don't need to change your
plugin, Gimp code needs fixing.
_______________________________________________
gimp-developer-list mailing list
List address: [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives: https://mail.gnome.org/archives/gimp-developer-list