Search found 2 matches

by the21st
2018-03-09T02:52:39-07:00
Forum: Users
Topic: Create Mask for color X ?
Replies: 5
Views: 8168

Re: Create Mask for color X ?

They shouldn't be included in the mask, i.e. the final mask should be black wherever the original was transparent.
by the21st
2018-03-07T04:13:41-07:00
Forum: Users
Topic: Create Mask for color X ?
Replies: 5
Views: 8168

Re: Create Mask for color X ?


You make #aabbcc transparent, then "-alpha extract" makes black where the pixels were #aabbcc, and white otherwise.

That's what you want, isn't it?

Then you do other stuff.

convert rmgcb.png \
-transparent '#aabbcc' \
-alpha extract \
rmgcb_red_yellow_blue.png



In my case, the original ...