$rez=ImageCreateFromJpeg("23.jpg");
//$rez=imagecreatetruecolor($w,$h);
//imagecopyresampled($rez,$ris,0,0,0,0,$w,$h,$rw,$rh);
imagecolortransparent($rez,imagecolorat($rez,10,10));
//$q=imagecolorallocate($rez,255,0,0);
//imagefill($rez,10,10,$q);
//Header("Content-type: image/gif");
imagegif($rez,"1.gif");