Merge branch 'master' of github.com:roundcube/roundcubemail

pull/5361/head
Aleksander Machniak 8 years ago
commit e13deb2e47

@ -234,7 +234,7 @@ class rcube_html2text
'-',
'*',
'£',
'EUR', // Euro sign. € ?
'EUR', // Euro sign. €
'|+|amp|+|', // Ampersand: see _converter()
' ', // Runs of spaces, post-handling
);

@ -166,7 +166,10 @@ class rcube_image
else {
try {
$image = new Imagick($this->image_file);
$image = $image->flattenImages();
$image->setImageBackgroundColor('white');
$image->setImageAlphaChannel(11);
$image->mergeImageLayers(Imagick::LAYERMETHOD_FLATTEN);
$image->setImageColorspace(Imagick::COLORSPACE_SRGB);
$image->setImageCompressionQuality(75);

Loading…
Cancel
Save