? ? 当我做convert 1.png 1.jpg时-我从png中删除了透明的,并且在jpg中看到了真正的背景,但当我在php Imagick中做同样的事情时: $piece = new Imagick("1.png");
$piece->mergeImageLayers(Imagick::LAYERMETHOD_FLATTEN);
$piece->setImageFormat('jpg'); // How to refresh content of $piece w/o save to disk?