ok i will try to get it directly from the BufferedImage, i didnt know that the robot class grabs pixels from the screen, but that doesn't help with modifying them or copying them to a new image
...
Type: Posts; User: trenci.jack
ok i will try to get it directly from the BufferedImage, i didnt know that the robot class grabs pixels from the screen, but that doesn't help with modifying them or copying them to a new image
...
it sounds good, i will try it. There is an inconsistency about getRGB(), i couldnt use it. I used robot.getPixelColor()
I want to eliminate any other colors in this pic. For example we picked black, i want only black pixels must be drawn for this pic on the panel. The other pixels arent necessary for me.
actually i didnt try a lot approaches..i tried to use transparency but it didnt work or i couldnt. i dont know which approach must be followed. i need an idea,like this "you can try this one"
i am coding a program via java swing
i have a panel and i hold a pic (.jpg) in this panel
when i click on this panel i can get rgb values of this pixel
i wanna pick this color on this picture.i...