[Tickets #14833] Re: Error when communicating with the server with PDF Attachements
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Jul 11 13:48:49 UTC 2018
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/14833
------------------------------------------------------------------------------
Ticket | 14833
Updated By | build+horde at de-korte.org
Summary | Error when communicating with the server with PDF
| Attachements
Queue | IMP
Version | 6.2.22
Type | Bug
State | Unconfirmed
Priority | 3. High
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
build+horde at de-korte.org (2018-07-11 13:48) wrote:
Your version of imagick is indeed too old. The reason for the changes
is that Imagick::flattenImages() which was used previously in the
generation of the PDF thumbnails was removed in 3.3.0:
https://pecl.php.net/package-info.php?package=imagick&version=3.3.0
The replacement for this is
$im->setImageBackgroundColor('white');
$im->setImageAlphaChannel(Imagick::ALPHACHANNEL_REMOVE);
$im->mergeImageLayers(Imagick::LAYERMETHOD_FLATTEN);
so this pulls in the requirement for this constant, which was added in
3.2.0b2:
https://pecl.php.net/package-info.php?package=imagick&version=3.2.0b2
Note that 3.3.0 was released more than two years ago and 3.2.0b2 has
been available for almost five years already, released mere weeks
after 3.1.2 was released.
More information about the bugs
mailing list