问题
I'm trying to get an RGB value of a pixel from a CGImageRef object. I know that I need to create a context or something but, how do I do this?
回答1:
This post shows you how to do it.
来源:https://stackoverflow.com/questions/1096407/how-to-get-rgb-value-of-a-pixel-from-a-cgimageref-object