I need a little help to transform this type of image :

To this one:

Which is type of transformation, mask that i need to apply to accomplish that??
Thanks in advance!!!!
Code: Select all
convert imagemagicklpreliminar.png -format "%[pixel:u.p{0,0}]" info:
srgb(91,155,213)
convert imagemagicklpreliminar.png -flop -format "%[pixel:u.p{0,0}]" info:
srgb(237,125,49)
Code: Select all
convert imagemagicklpreliminar.png -channel red -separate +channel -auto-level -threshold 50% -write show: \
+level-colors "srgb(91,155,213),srgb(237,125,49)" show:
Code: Select all
convert imagemagicklpreliminar.png -fuzz 40% \
-fill "srgb(91,155,213)" -opaque "srgb(91,155,213)" \
-fill "srgb(237,125,49)" -opaque "srgb(237,125,49)" \
result.png