Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Export all opened images in GIMP at once
#2
(12-06-2023, 02:34 PM)PixLab Wrote: Inspired by Rich2005 over-there >  https://www.gimp-forum.net/Thread-Tip-to...es-at-once which he literally wrote the WebP part

Use case: You got a bunch of images in GIMP and you have finished to work on them, and want to export all at once in JPG or WebP or PNG, or TIFF or even BMP
Or another use case: You did slice your image using guides with Image > Slice Using Guides with a grid of 10x10 and you got 100 opened images, go to export them one by one...  Big Grin

You will want this with all those images opened (un-zip, then put the .scm file in the scripts folder)

Now you just go to File > Export All Images As... Chose your folder, Chose the type of image, Give a generic name, and a start number (auto-numbering)



What changed with the original ?
A lot, like A LOT.
Export the full image and not just a layer.
Once you chose where to save and the file type, you can get a coffee or a beer, the script will care for the other million opened images and no question asked by GIMP.
No default settings from GIMP,  as before the exported JPG was bigger than the original,

Thus now you can set your settings in the code, I did comment ALL for > JPG, WebP, PNG and TIF

With a little effort, you can pop up the save dialog parameters only once for the first image, and reuse the settings for the other images, and avoid to edit the script (and by the way, if you edit the script while Gimp is running, you have to refresh the scripts to get Gimp to use the new version).
Reply


Messages In This Thread
RE: Export all opened images in GIMP at once - by Ofnuts - 12-06-2023, 05:13 PM

Forum Jump: