Commit b50e711f authored by bmortier's avatar bmortier

Fixes: #439 Function setImageOpacity isn't supported by the imagemagick's...

Fixes: #439 Function setImageOpacity isn't supported by the imagemagick's default version (6.2.8) installed by centos 5, this function is supported in the version 6.3.1 of imagemagick
parent 6b2f2a81
......@@ -997,7 +997,7 @@ class user extends plugin
$im = new Imagick();
$im->readImageBlob($this->photoData);
$im->setImageOpacity(1.0);
/* $im->setImageOpacity(1.0); removed because not support on imagick on centos / redhat 5 */
$im->resizeImage(147,200,Imagick::FILTER_UNDEFINED,0.5,TRUE);
$im->setCompressionQuality(90);
$im->setImageFormat('jpeg');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment