i want to learn how apply gradient mask on image.
My goal is, for given input image, reach image like this:

I'm using windows version, so help me with syntax please.
Thank you for your time,
(and sorry for english)
m.
Using IM 6.9.7-6 HDRI on Windows 10, and running this in a CMD window, I get the result you described.myspacee wrote: 2017-06-16T13:18:15-07:00i want to learn how apply gradient mask on image. [...] I'm using windows version, so help me with syntax please.
Code: Select all
convert input.jpg -alpha set -background none -channel A ^
( +clone -sparse-color barycentric "0,0 white %[w],0 none" ) -compose copyopacity -composite output.png
Code: Select all
... ( +clone -sparse-color barycentric "%[fx:w*0.33],0 white %[fx:w*0.66],0 none" ) ...
Code: Select all
... ( +clone -sparse-color barycentric "0,0 white %[w],%[h] none" ) ...