On Thursday 19 June 2003 04:39, Edward Peloke wrote: > Hello all, I have this code that takes an image sent from a form and > resizes it for a thumbnail and for display, the problem is the pictures > look nice until this does the resizing, then the quality is horrible...can > I fix it?
> imagecopyresized($newimg,$img,0,0,0,0,$nw,$nh,$ow,$oh); You would get better results using imagecopyresampled(). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* "In the face of entropy and nothingness, you kind of have to pretend it's not there if you want to keep writing good code." -- Karl Lehenbauer */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php