$image = imagecreatefrompng("space.png"); imagefilter($image, IMG_FILTER_SMOOTH, 6); header("content-type: image/png"); imagepng($image); imagedestroy($image);?>