How to get the RGB value of a pixel from a CGImageRef object?

I am trying to get the RGB value of a pixel from a CGImageRef object. I know that I need to create a context or something else, but how to do it?

+3
source share
1 answer

This post shows you how to do this.

+3
source

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


All Articles