Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Get pixel color of UIImage at x,y location?

$
0
0

Morning all!

Is there an easy(ish) way to get the color value of a pixel at x,y location in a UIImage (or CGImage)? Best example I have found is this one: stackoverflow.com/questions/448125/how-to-get-pixel-data-from-a-uiimage-cocoa-touch-or-cgimage-core-graphics which I have ported to Xamarin and it does work, but seems like a heck of a lot of work to be doing. Just wondering if there was now a better more efficient (or easier) way to do this on the Xamarin platform?

Sure wish I could get access to Bitmap.GetPixel(x,y) like I can in Windows world! :)

Richard.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>