Resize image quality vs php version
Posted on 2003-02-23
A while back I coded a thumbnailer into my website so that my forum users could upload images. I use PHP/GD copy_image_resized, and although the resulting quality was not that good, it was ok.
Now all of a sudden, all new thumbs generated have really bad quality - almost like the palette is now restricted to 8 or 16 colours. I have not touched the code in anyway, and the uploaded images are in exactly the same format. What I think has happened is that the PHP version on the server has changed (it is now 4.2.3. I dont know what it was previously).
Are there any known issues with new versions of PHP or GD that degrade the image quality when using copy_image_resized, or that now require you to enter the number of colours in the palette?