NYCPHP Meetup

NYPHP.org

[nycphp-talk] image resizing quality loss

Atul Ohri atul at monkeyclan.com
Wed May 4 12:03:39 EDT 2005


I also have used ImageMagick 6.x and GD 2.x and although ImageMagick 
appears to be easier to use GD is not bad if you want to just use 
something that's already built into PHP.

There's a couple reasons you're getting poor image quality.  Definitely 
use imagecopyresampled, as Dan recommended, and also use 
imagecreatetruecolor instead of imagecreate.

Hope that helps!

Atul




More information about the talk mailing list