User Contributed Notes 2 notes

imageScale has got troubles with scaling images...It can output Segmentation Fault when you want to provide custom $mode argument.How to scale image with interpolation in php gd?Use imagecopyresampled() instead of imagescale().