[Gimp-developer] Plug-ins - Getting List of Available File Formats



Hello,

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).

Regards,
khalim19


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