I am simply taking the pixels values from jpeg image using the function imagecolorat() and then creating a jpg image back again by giving those pixel values to imagesetpixel() . the name of new image is "test.jpg". When i again extract the pixel values from this test.jpg i found that the extracted pixel values are different from those i gave to imagesetpixel() .
This is the code which is taking an image (jpg), saving pixel...