|
@@ -117,7 +117,7 @@ class Image
|
|
|
$data['color'] = '#000';
|
|
|
}
|
|
|
|
|
|
- $text = mb_convert_encoding($text, "GB2312", "UTF-8");
|
|
|
+// $text = mb_convert_encoding($text, "GB2312", "UTF-8");
|
|
|
// $text = iconv('gb2312','utf-8',$text);//解决乱码问题
|
|
|
$colors = $this->hex2rgb($data['color']);
|
|
|
$color = imagecolorallocate($this->target, $colors['red'], $colors['green'], $colors['blue']);
|