Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jpeg file loaded with script-fu not considered imported
#6
(09-05-2022, 09:36 PM)cyril42e Wrote:
(09-04-2022, 09:00 PM)Ofnuts Wrote: Possible solutions:

* Set a different default extension (doable since 2.10.22 IIRC)(Preferences ➤ Image Import & Export ➤ Export file type)
* Define your own export action, and associate a hot key to it.

Thanks for the tips. Changing the default extension indeed saves one step (the slowest), so that's good.

However I didn't find anything about custom export actions, are you talking about writing a script ? I should indeed be able to reproduce the overwrite behavior (copy - flatten - save), maybe even without the confirmation dialog.

Yes, that's the file-jpeg-save call. Keep in mind that it takes a drawable (usually I do a gimp_layer_new_from_visible). Once saved do a gimp_image_clean_all so that Gimp doesn't pester you with the unsaved XCF when you want to quit.
Reply


Messages In This Thread
RE: Jpeg file loaded with script-fu not considered imported - by Ofnuts - 09-06-2022, 07:08 AM

Forum Jump: