diff options
Diffstat (limited to 'apps/theming')
-rw-r--r-- | apps/theming/lib/IconBuilder.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/theming/lib/IconBuilder.php b/apps/theming/lib/IconBuilder.php index 4383ccc7cd9..5d1c58e93f2 100644 --- a/apps/theming/lib/IconBuilder.php +++ b/apps/theming/lib/IconBuilder.php @@ -58,7 +58,7 @@ class IconBuilder { if ($icon === false) { return false; } - $icon->setImageFormat("png24"); + $icon->setImageFormat("png32"); $data = $icon->getImageBlob(); $icon->destroy(); return $data; @@ -77,7 +77,7 @@ class IconBuilder { if ($icon === false) { return false; } - $icon->setImageFormat("png24"); + $icon->setImageFormat("png32"); $data = $icon->getImageBlob(); $icon->destroy(); return $data; @@ -162,8 +162,6 @@ class IconBuilder { $offset_w = 512 / 2 - $innerWidth / 2; $offset_h = 512 / 2 - $innerHeight / 2; - $appIconFile->setImageFormat("png24"); - $finalIconFile = new Imagick(); $finalIconFile->setBackgroundColor(new ImagickPixel('transparent')); $finalIconFile->readImageBlob($background); |