Page 1 of 1

Darken with Opacity Effects for Single Image

Posted: 2018-01-04T02:38:24-07:00
by mjamal
Hello Team,

Can anyone please let me know how can I use the layers as "DARKEN" and Opacity as 30% for any image from Imagick functions?
NOTE: Need to change the above two effects for a single image only.

Please see the attached image from photoshop for reference.
2018-01-04_1507.png
2018-01-04_1507.png (19.33 KiB) Viewed 7644 times

Re: Darken with Opacity Effects for Single Image

Posted: 2018-01-04T05:31:36-07:00
by snibgo
I don't use PS, but it's probably something like this (Windows BAT syntax):

Code: Select all

convert ^
  inA.png ^
  ( inB.png -channel A -evaluate Multiply 0.3 +channel ) ^
  -compose Darken -composite ^
  out.png