PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a code which allows you to upload picture files and it works great however, when an image is uploaded and viewed it does not look the way it should. By that I mean colours are all smudged and the picture is fuzzy.
are you resizing or resampling the image? depending on what you do with it, it could get mangled a bit.. Some other binary data may have crept into the binary stream as well..
looks like the data got corrupted in transfer or something.. the uploaded image (image.jpg) is 9K larger than the original image (image1.jpg).. looking at the diff, there's only data added to image.jpg.. interesting..
Could be somehow that the upload was not complete.. or the server/ client connection glitched for a moment cuasing it to be only partially uploaded. as feyd said it got corrupted, which is not so strange @ all. seen many transfers go corrupt. Never with webupload but seen enough with ftp transfers.
Well I have made many upload scripts and they all work perfect. I have tried uploading again and again wuth the exact same results so I am thinking the customers server has something wrong with it.