Photoshop blending mode "Darker color"?
Photoshop blending mode "Darker color"?
Is there a way to reproduce Photoshop's "Darker color" blending mode using the command line?
Re: Photoshop blending mode "Darker color"?
I think you should expand on your question - what does darker color do? Perhaps post a before and after example.
Re: Photoshop blending mode "Darker color"?
Darker color compares RGB (total) from image A and with RGB (total) from image B and chooses the pixel with the lower total value. This way, no new colors appear in the composited image. This is different from "Darken" which does this on a per channel basis, often creating colors that weren't in either image A or B. Darker Color should be achieved by IM's "Darken-Intensity" like this:
However, I've noticed Photoshop's implementation is sometimes very different from ImageMagick's (with IM's giving expected results and Photoshop's not), although I haven't had the time to work out how Photoshop is implementing Darker Color, and therefore why it sometimes differs from IM's Darken-Intensity. Hopefully someone else can explain the rest!
Code: Select all
convert imageA.png imageB.png -compose Darken_Intensity -composite imageC.png