Add selection of default export file type
Submitted by pro..@...co.uk
Link to original bug (#793227)
Description
Created attachment 367965 Patches to allow selection of default export file type
If editing a newly created file or an xcf file the file type offered by File/Export or File/Export As is png. Those users (presumably the majority) who don't build GIMP from source and don't want to save as png have either to select their chosen file type each time or edit the GIMP exe file.
These patches add the ability to select the default export file type using an option on the Image Import & Export tab of the Preferences menu.
The order of preference for the export file type, as noted in gimpexportdialog.c, now becomes (only option 4 is changed):
/* Priority of default type/extension for Export: *
-
- Type of last Export
-
- Type of the image Import
-
- Type of latest Export of any document
-
- Default file type set in Preferences */
The 'default' default is still png so users who like the current behaviour will notice no difference.
I have included 8 file types in the list but it would be simple to add further types if I have missed any.
Attachment 367965, "Patches to allow selection of default export file type":
0001-Add-selection-of-default-export-file-type-to-Prefere.patch
Version: git master