Home > php教程 > php手册 > 解决php从excel中读取png,gif时图片背景为黑色

解决php从excel中读取png,gif时图片背景为黑色

WBOY
Release: 2016-06-06 20:11:05
Original
1251 people have browsed it

imagealphablending($image,false); imagesavealpha($image,true); imagegif($image, $path); imagealphablending($image,false); imagesavealpha($image,true); imagepng($image, $path); 原文地址:解决php从excel中读取png,gif时图片背景为黑色, 感谢原作

  imagealphablending($image,false);
  imagesavealpha($image,true);
  imagegif($image, $path);
  imagealphablending($image,false);
  imagesavealpha($image,true);
  imagepng($image, $path);
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template