IMG_FILTER_CONTRAST
<?php $image = imagecreatefrompng("space.png"); imagefilter($image, IMG_FILTER_CONTRAST, 20); header("content-type: image/png"); imagepng($image); imagedestroy($image); ?>