$value) { $text_split = str_split($value, 50); foreach ($text_split as $key_split => $value_split) { $text_temp[$t] = $value_split; $t++; } } $text = $text_temp; $text_count = count($text); $fontname = "FZJLJT.FON"; $im = imagecreate(600, $text_count * 40); $white = ImageColorAllocate($im, 255, 255, 255); $black = ImageColorAllocate($im, 0, 0, 0); $red = ImageColorAllocate($im, 255, 0, 0); for ($n = 0; $n < $text_count; $n++) { $value = $text[$n]; $value_length = strlen($value); $value_count = 0; for ($i = 0; $i < $value_length; $i++) { if (ord($value{$i}) > 127) { $value_count++; } } if ($value_count % 2 != 0) { //$text[$n] = substr($value, 0, $value_length - 1); //$text[$n + 1] = substr($value, -1, 1) . $text[$n + 1]; $text[$n] = $value . substr($text[$n + 1], 0, 1); $text[$n + 1] = substr($text[$n + 1], 1, strlen($text[$n + 1]) - 1); } } $text = implode("\r\n", $text); for ($n = 0; $n <= 1; $n++) { ImageTTFText($im, 18, 0, 2, 30, $black, $fontname, iconv("GBK", "UTF-8", $text)); } $dir = "images/"; if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { if (filetype($dir . $file) == "file") { unlink($dir . $file);//删除文件 } } closedir($dh); } } $file_name = $dir . md5($text) . ".png"; ImagePng($im, $file_name); ImageDestroy($im); } else { $file_name = "welcome.png"; } ?> 钢笔字在线生成工具-美人网

请在下图上点击鼠标右键,选择“图片另存为”将生成的钢笔手写体PNG图片保存到本地;

或者将鼠标移到到图片,直接将个性手写签名转到腾讯微博;

如果您喜欢本功能页面,可点击右侧分享按钮将本网址分享到其他网站,与朋友共享惊喜,或以便下次访问!


钢笔字转换结果-美人网


 

[美人首页]  [联系站长]  [收藏此页]  [发表文章]
本页域名

  ©2011-2012    www.meirnet.com     站长QQ:1450375999