Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a way to automate file exports to make anim frames?
#1
Rather than creating multiple layers within GIMP to build animations with, I would like to be able to export multiple images with a naming system like sample_001.jpg, sample_002.jpg, sample_003.jpg etc.  The idea being, that each one will be the same image with the same filter applied, but each export will slightly modify one (or more) of the filters attributes.  For example, started with a normal image, and then on each export, applying a blur filter so that the first image is crystal clear, and the last image is max blur.  To do this manually, I can apply the blur filter -> export -> undo blur -> re-apply blur with a more intense setting -> export -> undo blur -> and so on.  Eventually having a folder of images with a "gradient" of blur applied to them collectively, which I can then import into a video editor to chain together.

I'm thinking I can use python for this, but haven't been able to find an example showing how that would be possible

I'm new to python-fu (and scheme, but I know python so I was hoping I could use it instead of scheme). Anyways, I was thinking it could have something to do with the process of selecting the "pdb.file_jpeg_save" plugin in the python-fu console, and creating a for loop or while loop so that I can save a file in each iteration using the string filename = "image" + increment_variable, and then also applying a filter and incrementing or decrementing a filter parameter too.

Are there any good tutorials that cover these types of specifics? Thanks in advance!
Reply


Messages In This Thread
Is there a way to automate file exports to make anim frames? - by rgbellotti - 08-14-2020, 08:36 PM

Forum Jump: