Page 1 of 1

Image composite mode: "grain merge"

Posted: 2014-02-25T09:19:15-07:00
by seanspotatobusiness
The GIMP has a mode for overlaying images on each other called "grain merge". Does ImageMagick have an equivalent to this, perhaps named differently?

Re: Image composite mode: "grain merge"

Posted: 2014-02-25T11:19:41-07:00
by snibgo
According to http://docs.gimp.org/en/gimp-concepts-layer-modes.html , grain merge is out = in1 + in2 - 50%. So this may be equivalent:

Code: Select all

convert in1 in2 -compose Mathematics 0,1,1,-0.5 -composite out
EDIT: wrote "composite" instead of "compose".