• 技术文章 >后端开发 >PHP问题

    php如何使字符串转成图片

    藏色散人藏色散人2020-10-14 16:48:17原创58

    php字符串转图片的实现方法:首先获取base64文件;然后设置生成的图片名字以及图片保存路径;接着拼接路径和图片名称;最后生成图片即可。

    推荐:《PHP视频教程

    PHP实现将base64编码字符串转换成图片示例

    1. 获取base64文件
    $image="data:image/jpg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wgARCAInAVoDASIAAhEBAxEB/8QAGgAAAgMBAQAAAAAAAAAAAAAAAwQAAQIFBv/EABgBAAMBAQAAAAAAAAAAAAAAAAABAgME/9oADAMBAAIQAxAAAAHhKOpzp0e3xu5NKKuqB5yXGm6EYStaIC+iGEsYkGu6m8n2CVcWjz9cCloMmmUk01m7iJnUDNyMu8xM1i2r6HqPF92K7u5uTE1Y6m4LzfNeR1jqd3h92KWUbAzzGmbc88rFiT3gg8byUL0MoZbEVPu8/oebmuSKb1yzd2FXdjxojCYCOGDjCeWaDe4LNEtVbS9qvXveM9fFFvG5LurDyyTie2fT73B70UstviNJ1caooyguTGhUYJQsgbG/pZxV0fHeg8wFao1xiXsLOXqq03nTpoX0bRxV/QCDyyXruW54RYIG12orU9T5jtE+j2Iuda1Ww8vz2ldc+p3eF3prmpOcwa8VlQzpU4AlbDBIcF4zYRwJk0eJ0EKWy0Jq3VO8qN1bZVDJvQYskQLDGVSyHXCn5Pm+u4dRznFjphbXdH6coWJU1IjyCzK2ufV7vC7irmcjrc1PmySohwmBYgyCooihmS0OHXMVx07up2O7Y76vk+gmilyQe5q6Q5ukYrVKqkvPTPB9Gin4rDnPuGury+wHXPgqm61hPyCxB6Z9buc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jxB8GOwV3FaqjmFUNwSI0RgZlQpgqIUaY2RXDLU35Yysi48KuY0RUQZpfiXzLvBMB4FsWyXMwbhiLmGpvNZcP8AsM/VL/4mz8QxXxODti3ftncefUeS4zioWJmWgJyd9XABRggIpaaMSp1K9kUKCUbIYiw1DBNFsu0qo+CaS31JgIobgS3g5iwMWrYRkzHEuMiLIQ19Zw/MXaaB0Toho+bnruPPzXi4Qc0G2LxiD1DJOaidCB0gQixbS4NxYqDTLuYuVLCZRtlJNEMIxOFjCGC8y9voiMnEzd3cEQ0+m4uVfdwwj6IC2oYqaE4+WbMXL8SlQS76Jdh94kT6dwKfcQCSx5hvEoJXEwIqgw7QhrxbggonqLUXMKuOsTaYhBbDEGUebmD1lgJWYzlWX4sDTqI7J0xm4Un6IxLAuL2QDW6TiWQB46l5uvvuVpzENSXi4S8LDqPFzaGAS6G7ht8DOCViCz3FzLhDLUw58f/Z";
    1. 设置生成的图片名字
    	$imageName = "25220_".date("His",time())."_".rand(1111,9999).'.png';
    1. 判断是否有逗号 如果有就截取后半部分
    if (strstr($image,",")){
     $image = explode(',',$image);
     $image = $image[1];
    }
    1. 设置图片保存路径
    $path = "./".date("Ymd",time());
    1. 判断目录是否存在 不存在就创建 并赋予777权限
    if (!is_dir($path)){ //判断目录是否存在 不存在就创建
     mkdir($path,0777,true);
    }
    1. 拼接路径和图片名称
    $imageSrc= $path."/". $imageName;
    1. 生成图片 返回的是字节数
    $r = file_put_contents($imageSrc, base64_decode($image));
    1. 判断图片是否生成成功
    if (!$r) {
     $tmparr1=array('data'=>null,"code"=>1,"msg"=>"图片生成失败");
     echo json_encode($tmparr);
    }else{
     $tmparr2=array('data'=>1,"code"=>0,"msg"=>"图片生成成功");
     echo json_encode($tmparr2);
    }

    代码执行完毕后会出现一个图片
    在这里插入图片描述


    以上就是php如何使字符串转成图片的详细内容,更多请关注php中文网其它相关文章!

    本文原创发布php中文网,转载请注明出处,感谢您的尊重!
    专题推荐:PHP
    上一篇:php如何将字符串转utf8 下一篇:如何解决php imagettftext 乱码问题
    第13期线上培训班

    相关文章推荐

    • php如何实现date转string• ThinkPHP之玩转自己的容器类• php pdf如何转jpg• php如何将字符串转utf8

    全部评论我要评论

  • 取消发布评论发送
  • 1/1

    PHP中文网