public static function createLabelImage($labelList,$fileName=""){
$initImageFun = function($width,$height){
$image = imagecreatetruecolor($width, $height);
$backgroundColor = imagecolorallocate($image, 255, 255, 255);
imagefilledrectangle($image, 0, 0, $width, $height, $backgroundColor);
return $image;
};
$containsChineseFun = function ($str) {
if (preg_match('/[\x{4e00}-\x{9fa5}]/u', $str)) {
return true;
} else {
return false;
}
};
$decFillImageFun = function($image,$textDesc2,&$yHeight,$textColor,$maxlen=15,$xDecStart=185,$fontSize=25){