Page 1 of 1

Image Scaling with GD

Posted: Tue Aug 19, 2008 6:17 pm
by omniuni
Hello everyone!

Can anyone tell me how to tell GD to scale bicubically? I have a thumbnailing script that currently scales with the default and it doesn't always look that great, particularly with thinner lines.

Thanks,
OmniUni

Re: Image Scaling with GD

Posted: Wed Aug 20, 2008 12:33 pm
by pickle
There is no "default" - there is imagecopyresized() and imagecopyresampled(). imagecopyresampled() will generate a much nicer looking thumbnail.

Re: Image Scaling with GD

Posted: Wed Aug 20, 2008 12:51 pm
by omniuni
awesome! I knew I was missing something!

Thanks again, Pickle!