Hello friends...I was given a task that ,taken a image u have to convert it into pixel values...
And I have to find the difference in pixel values in various parts of the image..ie when u take ur own photo u have to pixel values of eye portion and other parts... If u people understand anything can i get advice from u what method to follow....

I don't if this is correct but what I did once, was to read the file line by line(like you read any other text file). You will get numbers. These numbers represent the RGB values. They are from 0 - 16777216 (256*256*256).

Thank u sir... For ur kind reply...

I could not get what u really tell.....Can we generate pixel values from image and display it?