Ger Cas
Ger Cas

Reputation: 2308

Change color of region ImageMagick

I want to change color region below but it doesn't work. What I'm doing wrong?

Only with -negate it seems to do something but I want to change the region to color #64F733.

convert input.png -region '444x294+530+85' -negate out.png

convert input.png -region '444x294+530+85' -fill '#64F733' out.png

Thanks

Upvotes: 0

Views: 383

Answers (1)

GeeMack
GeeMack

Reputation: 5395

You need to "-colorize" it after setting the "-fill" color.

convert input.png -region '444x294+530+85' -fill '#64F733' -colorize 100 out.png

Upvotes: 3

Related Questions