I am working on a project where I edit jpg pixels in PHP using the GD library. Its very important and the key to my project is that the PHP output saves the pixel values that I set (cough-steganography-cough).
This is the first time I have tried to manipulate images in PHP. I had no problems in Java implementations before, so I was dumb not to investigate the compression quality of GD jpeg before continuing.
It turned out that after my efforts, my code does not work as intended. I am sure that this is not my code (I tested the encoding and decoding functions on the edited image resources, and they worked).
My questions:
source share