Page 1 of 1

resize image without loosing quality

Posted: Tue Mar 22, 2011 4:01 pm
by sourab
Hi, is there any code we can resize( normal and thumbnail) image like facebook without loosing quality or any third party tool . Please let me know i am stuck on my project.

Re: resize image without loosing quality

Posted: Tue Mar 22, 2011 4:07 pm
by Jonah Bron
Check out the GD library.

http://php.net/gd

Re: resize image without loosing quality

Posted: Wed Mar 23, 2011 3:12 am
by Darhazer
If you use GD, you have to use imagecopyresampled and not imagecopyresized. And you have to keep the image ratio!
ImageMagik usually produces images with higher quality