I'm using gd2 lib to work with images. I need to change resolution of image, still I cant find a method for that in a list of methods. How that can be done?
Thank you in advance
Use imagecopyresampled:
imagecopyresampled($resizedImg, $srcImg, 0, 0, 0, 0, $resizeWidth, $resizeHeight, $srcWidth, $srcHeight)