• Post Reply Bookmark Topic Watch Topic
  • New Topic

Grabbing pixel on JFrame

 
JC Denton
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm drawing an image onto a JFrame and manipulating it in all kinds of ways.

Is it possible to grab the RGB of a specific pixel in the JFrame?

I'm trying to display the rgb of each individual pixel as the mouse passes over them.

the image is drawn at (0,0) so currently I'm using



many thanks
[ May 08, 2006: Message edited by: JC Denton ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!