hehexu

博客园 首页 新随笔 联系 订阅 管理
$imgsource="qrcodes/1.png";
$image = file_get_contents($imgsource);
//将文件信息读取到一个内存中的字符串变量

$im = imagecreatefromstring($image);
//从字符串信息创建图片
posted on 2018-01-14 22:49  hehexu  阅读(115)  评论(0编辑  收藏  举报