我正在尝试使用Intervention Image保存base64编码的图像,laravel-5 Exception告诉我"无法从给定的二进制数据初始化".谁有人可以帮忙?
$png_url = "user-".time().".png";
$path = "/public/".$png_url;
Image::make(base64_encode($request['image']))->save($path);
Run Code Online (Sandbox Code Playgroud)