GNOME Bugzilla – Bug 731843
gimp_export_image() function is not available to Python plugins
Last modified: 2014-06-21 06:49:11 UTC
gimp_export_image() from libgimp/gimpexport.h is not available to Python plugins. It's useful for writing export plugins, I suggest to export it to Python.
Fixed in GIMP Master - should be available for GIMP 2.10. In GIMP 2.8, I advise one to simply perform the work of gimp_export_image in the plug-in side. It is a 4-5 function call sequence, in most cases: saving_image = pdb.gimp_image_duplicate(img) saving_drawable = pdb.gimp_image_merge_visible_layers(saving_image) # convert color spaces if needed. pdb.gimp_file_save(...) pdb.gimp_image_delete(saving_image)