Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to automatically rename the image when exporting? (no prompts)
#6
(08-20-2022, 07:40 AM)Ofnuts Wrote:
(08-20-2022, 03:00 AM)PixLab Wrote:
(08-19-2022, 07:37 PM)Soliip Wrote: Thanks you but my images almost never ends with a number to begin with. Number appears when the first copy of it is created. So, if that what you mean, it won't work in my case. Imma test it anyway.

At line 43, maybe Ofnuts can add a 0 (zero) to the name instead of raising an error?  Big Grin

My script is meant to assign numbers in image sequences, so the needed numbering scheme is a bit different than for backups. But anyone can grab the script and edit it. And distribute the result, after removing my name.

To the OP: there are "autosave" plugins that could also fulfill your needs?



I'm not sure what you mean by autosave. Where will it save the image into and under what name? I'm willing to try any workaround if it always us to simply save a new image quickly while keep the original one (or the previous modified one).



Now, you guys made me think about a really weird workaround i could try. I could just quickly copy/past in the same folder the image i'm working on right before i "Ctrl+E" export (the method that erases the previous version of the image, but which is at least very quick and doesn't need any prompt). On windows, copy/past an image gives it the name "ImageName - copy" (and then "ImageName - copy(2)" etc)

And then, if i want to create 10 versions of the same image and save it after each time i modify it, i could just let the folder opened on windows explorer and come back to it right before i need to export a new version, copy/past the image again, that would save/secure the previous version of it, and then "Ctrl+E".
So, for example, after i made 10 versions of the same image i would have "ImageName - copy" which would end up being the very first original image, then "ImageName - copy(2)" would be the very first modified version of it, up to "ImageName - copy(10)" the 9th version, and finally the original name "ImageName" which, weirdly enough, would be the 10th and last iteration of the original image.

It's very counter intuitive and i don't really like it, but i just realized it would already be 10 times faster than the normal process. Especially when Gimp prompt you to choose where to save in a folder and the folder has many files, it can take forever to load each time. Plus the fact that you have to rename it manually each time. Skipping all of this process is a win for me already.
Reply


Messages In This Thread
RE: How to automatically rename the image when exporting? (no prompts) - by Soliip - 08-20-2022, 11:36 AM

Forum Jump: