~/gfx/mockups/, but exports the final mockup as PNG to ~/public_html/mockups/. Pepe wants to export the PNG pretty much every time he makes a change to the XCF.save a copy. Navigating to the export directory is easy, because pepe created a bookmark for ~/public_html/mockups/. However pepe does need to bring up the path browser by pushing the Browse for other folders disclosure triangle because the target directory is different to the directory holding the XCF.As you can see from the above there’s a couple of problems during the task especially with regard to error prevention.
It will be easy to dismiss the wrong dialog such as exporting a layer mask instead of the artwork by mistake. All it takes is having the mask active before the export. Pepe will just be pushing Enter like kalashnikov for the export after a while. Especially the alert warning about overwritting a file gets hidden like this very easily.
Pretty much all the time Pepe is using the preset defaults on all the alerts and they slow down the process even on a fast machine.
There are two solutions that I came up with. They are not exclusive.
How to make the export be less of a pain when done repeatedly? What does GIMP need to know for export?
After some discussion with Sven Neumann, having the export options together with format options isn’t feasible to have in the file save dialog. So what I propose is a special dialog to export (save a copy).
: Technical note - As it stands it’s not possible to query the output plugin for options, needs API change.
Save a copy wouldn’t bring up the save dialog, but a parent dialog that contains both the output directory widget (that launches the file selection dialog) and the export + file format options. The export process would look like this:
GIMP needs to somehow remeber a copy has been saved for the XCF file. If such information was saved as a parasite onto the image, it would be possible to change the output directory for save a copy to be different from the location of the XCF and no need to make the user browse to it.
flatten image, no interlacing, do no save bcg color, do not save gamma, do not save layer offset, save resolution, save creation time, save comment, save color values for transparent pixels and comrpession level of 9 and presses the [save] button.A successful export will now show up as a new item in the File>Save a Copy>foo.png. This information of succesful exports is saved in the xcf so it’s possible to save a copy by simply selecting the filename from the Save a Copy list.
Under Image>Properties there’d be an Auto-Export tab with only a few widgets:
With this feature enabled, every time one would save the xcf, a copy with the above properties would be saved as well. It would save Pepe about 30% of the day.
: multiple exports per XCF.