Нет, нужно писать своё или повзаимствовать. Вот используй под свои нужды:  $t=getimagesize ($imgfilename) or die('Unknown type of image'); $width=$t[0];$height=$t[1]; $maxwidth=200; $maxheight=200;  if ($width>$maxwidth || $height>$maxheight) { 	if ($width>$height) 	{ 		// если ширина больше высоты 		$new_width=$maxwidth; 		$new_height=$maxwidth/($width/$height); 	} 	if ($width<$height) 	{ 		// если наоборот 		$new_height=$maxheight; 		$new_width=$maxheight*($width/$height); 	} 	if ($width==$height) 	{ 		// если равны 		$new_height=$maxheight; 		$new_width=$maxwidth; 	}   	// тут код уменьшения картинки 200*200 	// Лучше конечно использовать конструкцию switch..case. 	if ($get_ext=='jpg') ($img=@imagecreatefromjpeg($imgfilename)); 	if ($get_ext=='gif') ($img=@imagecreatefromgif($imgfilename)); 	if ($get_ext=='png') ($img=@imagecreatefrompng($imgfilename)); 	if ($img) 	{ 		$thumb=imagecreatetruecolor($new_width,$new_height); 		imagecopyresampled ($thumb, $img, 0, 0, 0, 0, $new_width, $new_height, $width, $height); 		imagejpeg($thumb, $imgfilename, 100); 	} 	else 		echo 'error';  } upd: скрипт старенький, сейчас использую библиотеку работы с изображением.