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 536870912 bytes exhausted (tried to allocate 201624001 bytes) at /var/www/web27958465/html/Masserberg2024/templates/yootheme/packages/image/src/Image/GDResource.php:187 |