imagecopyresized () copies the rectangular portion of one image to another image. dst_image is the target image, src_image is the identifier of the original image.
imagecopyresampled () copies the rectangular portion of one image onto another image, smoothly interpolating the pixel values, so, in particular, reducing the image size still retains greater clarity.
php.net is your friend
It seemed too ridiculous. Sorry about that. Personally, I always use imagecopyresampled ()
source share