mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 01:00:20 -04:00
Fix transparency of icons
Signed-off-by: Julius Haertl <jus@bitgrid.net>
This commit is contained in:
parent
f423bdcb81
commit
fd6670ae72
1 changed files with 1 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ class IconBuilder {
|
|||
$appIconFile->setImageFormat("png24");
|
||||
|
||||
$finalIconFile = new Imagick();
|
||||
$finalIconFile->setBackgroundColor(new ImagickPixel('transparent'));
|
||||
$finalIconFile->readImageBlob($background);
|
||||
$finalIconFile->setImageVirtualPixelMethod(Imagick::VIRTUALPIXELMETHOD_TRANSPARENT);
|
||||
$finalIconFile->setImageArtifact('compose:args', "1,0,-0.5,0.5");
|
||||
|
|
|
|||
Loading…
Reference in a new issue