I think he wants to do something like this, which works fine for me:
Code: Select all
convert logo: wizard: null: ( -clone 0--2 -negate ) -compose CopyOpacity -layers composite x.tiff
I have just 2 inputs but there could be any number. Then null:, then I clone from 0 to -2, so from zero to the one before the null.
Then I declare the compose method, and "-layers composite" does a pair-wise operation. My output has two images, being the inputs but with the lighter parts transparent.
EDIT correcting typo: pair-wise, not pair-size. I mean the first input is paired with the first clone, then the second input with the second input, and so on to the last input with the last clone.