Replacing one color with another in NSImage

I have NSImage and want to replace one color with another (for example, replace blue with green) Is there an easy way to do this, and if not, how can I get this functionality?

+4
source share
1 answer

This task is for the main image. Or you can use Quartz Composer to define an image filter and embed a QCView in your application.

+2
source

Source: https://habr.com/ru/post/1299119/


All Articles