Artificial intelligent assistant

Superimpose multiple images I have multiple pictures that are look alike, they're all black and differ only in the one dot of the screen, I want to combine them in one picture so I can see all the dots in one picture. How can I do this using something like ImageMagic? I don't want to use something with gui bc there are a lot of pictures, but they're not that big, so it would be easier to do this with terminal utility. I tried composite -blend 50 *.png res.png but it didn't work out. UPD: Now I understood that it doesn't work because it works only with two images, how do I do these to all the images that matches the regular expression like somth*.png?

You need the Screen compositing method.

Since the composition only accepts two input files at a time, loop over all the input files.

Substitute `somth1.png` below by any of the input files. It is needed because `res.png` is always a starting point.


cp somth1.png res.png
for f in somth*.png;
do composite -compose Screen "$f" res.png res.png
done

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 1d9c59dd779b4185cc78f9fea374e359