protected static function createImage($width, $height, $color = 'transparent') { $rgba = static::parseColor($color); $image = imagecreatetruecolor($width, $height); imagefill($image, 0, 0, $rgba); if ($color == 'transparent') { imagecolortransparent($image, $rgba); }|
OutOfMemoryError
|
|---|
Symfony\Component\ErrorHandler\Error\OutOfMemoryError: Error: Allowed memory size of 671088640 bytes exhausted (tried to allocate 240869377 bytes) at /home/clients/b172998da2f1c59776f78276fad3d256/web/sites/nadabrahma/templates/yootheme/packages/image/src/Image/GDResource.php:187 |