NYCPHP Meetup

NYPHP.org

[nycphp-talk] image resizing quality loss

Brian O'Connor gatzby3jr at gmail.com
Wed May 4 12:45:30 EDT 2005


I had the same problem on my website and imagecreatetruecolor solved it for me.

On 5/4/05, Atul Ohri <atul at monkeyclan.com> wrote:
> 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
> 
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
> 


-- 
Brian O'Connor



More information about the talk mailing list