smooth scaling

Discovering imagecopyresampled

Software

I wonder how many people are aware that when PHP is compiled with version 2 of the GD library, it supports imagecopyresampled. For some reason I never discovered it until tonight when looking for use smooth scaling for thumbnails. And it was just what I was looking for.. all this time I was still using imagecopyresized ad bitching about it while the solution directly preceeds it in PHP's GD library function reference. Silly me.

Obviously I have instantly applied some updates to Kiki: from now images in user profiles and my photography thumbnails will look much nicer. In fact, I also changed the image quality to 85 from the default 75. Enjoy! (Improvements not retroactively applied, so upload your user image again to enhance it.)

© Copyright 1995-2009 Robert John Kaper. All rights reserved.

Tom has more friends but mine are prettier! (#1/1)