pdu
pdu

Reputation: 10413

Replacing a color with rmagick

I'm currently stuck on a - more or less - simple task. I need to replace some colors with other colors in an image using rmagick.

I found two approaches.

Is there a better solution?

Upvotes: 0

Views: 905

Answers (1)

pdu
pdu

Reputation: 10413

Finally, I found the answer myself:

Using Magick::Image#opaque_channel

Upvotes: 3

Related Questions