Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any way to record actions taken on one image and apply them to entire directory?
#1
I am not a frequent or expert GIMP user, in fact I don't do a lot of image editing at all, and most of what I do do is very simple stuff like cropping an image. So please don't assume I have a lot of prior knowledge about GIMP. What I was wanting to know is if there is any way to load an image, record the actions I take to modify that image and the options used when saving it, and then apply that to several hundred other images in a directory.

To be more specific, what I have is several hundred images that have a significant transparent border. All I want to do is automatically crop the images so that all the excess transparency is discarded. If I were doing this on a single image, I would do it this way:
  •     Load the image
  •     Use the fuzzy select in any corner to select the transparent part
  •     Invert the selection (If there is a better way to select non-transparent parts only, I'm not aware of it).
  •     Crop to selection
  •     Export the image as a .png file to a different directory but with the same filename, with none of the options selected in the popup that you get when you export a .png image (basically I uncheck everything, also I make sure maximum compression is selected).
That's easy enough on one image, but the thought of having to do it a few hundred times doesn't thrill me in the slightest. Is there any easy way to do this?
Reply


Messages In This Thread
Any way to record actions taken on one image and apply them to entire directory? - by maple - 09-21-2021, 12:03 AM

Forum Jump: