【发布时间】:2018-01-03 14:48:51
【问题描述】:
我正在尝试在 Ubuntu Server 上使用 Imagick 在 pdf 文件上添加 png 图像。
$background = imagecolorallocate($signature_place, 255, 255, 255);
imagefill($signature_place, 0, 0 , $background);
imagecolortransparent($signature_place, $background);
但是背景是脏的白色。
有趣的事实是它可以在 Windows 上正常运行。
我正在使用:
- php7.0-fpm
- php-imagick 3.4.3
我真的不明白错误可能出在哪里。
有人遇到过这样的问题吗?我应该在哪里找到错误?
【问题讨论】:
标签: php image ubuntu pdf imagick