I am trying to recreate an effect that I have produced in Gimp. I'd like to use ImageMagick to do it, as it is an effect that I need to apply to a large number of images.
I have three images: top.png, middle.png, bottom.png. Each is on its own layer in Gimp, with the following settings:
top (70% opacity, overlay mode)
middle (40% opacity, hard light mode)
bottom (100% opacity, normal mode)
I have managed to achieve this effect with ImageMagick by calling convert twice, as follows:
Code: Select all
convert \
bottom.png \
\( \
middle.png \
-alpha set -channel A -fx '0.4' \
-compose hardlight \
\) \
-composite composite.png
convert \
composite.png \
\( \
top.png \
-alpha set -channel A -fx '0.7' \
-compose overlay \
\) \
-composite composite.png
Regards,
Mike