Version 5.1 - All the GraphQL #32
Binary file not shown.
Binary file not shown.
@ -311,8 +311,8 @@ function createPlaceholderImage (string $path, int $width = 200, int $height = 2
|
|||||||
{
|
{
|
||||||
$img = ImageBuilder::new($width, $height)
|
$img = ImageBuilder::new($width, $height)
|
||||||
->enableAlphaBlending(TRUE)
|
->enableAlphaBlending(TRUE)
|
||||||
->addBackgroundColor(255, 255, 255, 127)
|
->addBackgroundColor(255, 255, 255)
|
||||||
->addCenteredText($text, 64, 64, 64, 1);
|
->addCenteredText($text, 64, 64, 64);
|
||||||
|
|
||||||
$path = rtrim($path, '/');
|
$path = rtrim($path, '/');
|
||||||
|
|
||||||
|
@ -22,5 +22,5 @@ use RuntimeException;
|
|||||||
* Exception for bad configuration
|
* Exception for bad configuration
|
||||||
*/
|
*/
|
||||||
class ImageCreationException extends RuntimeException {
|
class ImageCreationException extends RuntimeException {
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user