3

I have a timelapse recording where I need to do uniform levels adjustment. I can load them all in in one image as layers, but when I adjust levels it changes the selected layer only.

So I basically want to do Colors / Layers / Auto Input Layers on one image, but apply the same change to all images in the sequence.

How do I do this in GIMP?

1

Foreword

Anything "Auto" is not going to be the same on all images. So

  • you can accept that images are going to be transformed differently. This can be a good thing in some cases.
  • you want to apply the very same changes to all: you have to use an explicit/manual tool on the others (Levels/Curves...) but if you use an "auto" tool on the first, Gimp won't tell you exactly what it did to the first image. So in practice you have to forego the use of automated tools, and use Levels/Curves/Brightness-contrast on the first image.

With Gimp

  • Try the BIMP plugin.

  • If the images aren't too bug and you have enough RAM, try the ofn-layer-tiles script.

    • It takes all your layers and uses them as tiles to make single layer
    • You can apply your color adjustments to that layer, by design they will be applied too all the tiles
    • Use the script again to split the big layer into tiles
    • Save the layers (see the ofn-export-layers script at the same place).

Without using Gimp

This could also be done with a shell script built on ImageMagick. For instance, stretching the contrast can be as simple as!

magick convert input.jpg -normalize output.jpg

You can combine several operations into a single call, for instance, I create low-res images from my camera image with a single call:

convert "$f" -modulate 100,120  -geometry 3000 -sharpen 0x1.0 -quality 85 "$dir/$(basename "$f" .JPG).jpg"

This: 1) increases saturation, 2) resizes the image, 3) applies a bit of sharpening, and 4) saves the image with JPEG quality 85.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.