Reputation: 11100
Given a photograph, is there a way to identify the colour of each pixel?
I'm hoping to create an Android app for a school project, and I wish to be able to determine the colours of specific area's within a photograph on the phone. Is it possible to do this?
Thanks.
Upvotes: 0
Views: 98
Reputation: 64429
Take a look at the getPixel function from Bitmap
(You would need to get it in bitmap format, and that would mean using some memory so mind that!)
Upvotes: 2