I am trying to find the CGColor
at a CGPoint
in a CGImage
. There are multiple Stack Overflow posts that have something similar (like UIImage
instead of CGImage
or Objective C instead of Swift), but nothing specific enough to help me.
Does anyone know how to get the color at a point? Thanks.