swing - How do I find the pixel color of a given point inside a JPanel with a moving image? -


how find pixel color of given point inside jpanel moving image? can using bufferedimage or graphics?

you take whatever frame trying pixel color , turn bufferedimage , use .getrgb(x,y) return integer pixel. turn color object , use getred() getblue() getgreen() getalpha() values.


Comments