
smooth scaling
Discovering imagecopyresampled
- Posted by Rob (#1) on August 7, 2006 00:15 CEST
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.)
- PermaLink: Discovering imagecopyresampled (1 comment)
- Tags: Kiki, user profiles, PHP, GD library, smooth scaling
- Post comment