Resample images

This commit is contained in:
nikolark committed 2012-02-20 00:28:19 +01:00
1 parent 932ebb79e9
commit 4941fc13fe
1 file changed
+1 -1
+1 -1
View File
@@ -96,7 +96,7 @@ if ($format != 2){
$newimage = imagecreatetruecolor($newwidth, $newheight);
}
// Resize image
imagecopyresized($newimage, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
imagecopyresampled($newimage, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
// Output image
switch ($format){