I made a Python plug-in that exports layers as separate images and for user convenience I implemented in the GUI a list of file formats, similar to the one in the GIMP export dialog.

I have to maintain the list manually, which isn't ideal as I have to copy-paste the file format descriptions and extensions every time they get changed. Plus, I can't get the file format descriptions to be translated to different languages.

Hence, I would like to ask if it is possible in GIMP plug-ins to somehow get the list of available file formats - their description and file extensions (and possibly the names of the corresponding file load/save PDB procedures). This could also make it more convenient to determine whether the file extension the user entered is invalid (instead of calling "gimp-file-save" and letting it fail).

gimp-developer-list mailing list
List address:    gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list

Reply via email to