mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Reduced Imagick memory consumption
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user