![]() (02-07-2019, 09:17 PM)DougCoffland Wrote: (02-07-2019, 04:39 PM)Ofnuts Wrote: I don't really understand why you import gtk just to open a FileChooser. There are Python libraries to load images (PIL or its "pillow" derivative, among others). Otherwise you can just as well make it an independent application and remove the dependency on Gimp. Registration is a bit more complicated that your regular plugin but there are examples (for instance the file-openraster.py plugin that comes in Gimp 2.10). Gimp will then handle the file picker for you. If you want to create a file from the current image, then you define a file-export plugin. (02-07-2019, 04:39 PM)Ofnuts Wrote: I don't really understand why you import gtk just to open a FileChooser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |