Reduced Imagick memory consumption

This commit is contained in:
rr- 2016-07-28 19:14:23 +02:00
parent 96769f52cf
commit 0e4365795b

View file

@ -1,6 +1,9 @@
<?php
namespace Szurubooru\Services\ImageManipulation;
\Imagick::setResourceLimit(\Imagick::RESOURCETYPE_MEMORY, 33554432);
\Imagick::setResourceLimit(\Imagick::RESOURCETYPE_MAP, 33554432);
class ImagickImageManipulator implements IImageManipulator
{
public function loadFromBuffer($source)