Search:

Type: Posts; User: trenci.jack

Search: Search took 0.28 seconds.

  1. Replies
    9
    Views
    234

    Re: pick a color on a picture

    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
    ...
  2. Replies
    9
    Views
    234

    Re: pick a color on a picture

    it sounds good, i will try it. There is an inconsistency about getRGB(), i couldnt use it. I used robot.getPixelColor()
  3. Replies
    9
    Views
    234

    Re: pick a color on a picture

    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.
  4. Replies
    9
    Views
    234

    Re: pick a color on a picture

    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"
  5. Replies
    9
    Views
    234

    pick a color on a picture

    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...
Results 1 to 5 of 5