help with javascripts..

Discussion in 'JavaScript' started by klown, Jul 14, 2006.

  1. #1
    i'm new to java and i'm having big problems.

    i need to get the rgb color of a specific pixel in an image.
    i should be able to do this with pixelgrabber but i'm having problems implementing this/understanding java.

    what would the complete source code for this page be. it should load from image.gif, and show me the rgb color for pixel x20,y20. i already have image.gif in a folder, i want somebody to post the source code which would display r=30 g=40 b=40 or whatever the values are. I dont want to have to call it, just paste the code into a notepad file, save it and run it.

    i cant figure this out.. been working at it for 5 hours now.. did it before in php in less then a minute (from no knowledge on how to implement it, to implementing it).
     
    klown, Jul 14, 2006 IP
  2. giraph

    giraph Guest

    Messages:
    484
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Are you talking about javascript or java?
     
    giraph, Jul 15, 2006 IP