diff --git a/public/images/placeholder.png b/public/images/placeholder.png deleted file mode 100644 index e878e933..00000000 Binary files a/public/images/placeholder.png and /dev/null differ diff --git a/public/images/placeholder.webp b/public/images/placeholder.webp deleted file mode 100644 index cbbab7c5..00000000 Binary files a/public/images/placeholder.webp and /dev/null differ diff --git a/src/AnimeClient/AnimeClient.php b/src/AnimeClient/AnimeClient.php index 07effdd0..449d52ab 100644 --- a/src/AnimeClient/AnimeClient.php +++ b/src/AnimeClient/AnimeClient.php @@ -311,8 +311,8 @@ function createPlaceholderImage (string $path, int $width = 200, int $height = 2 { $img = ImageBuilder::new($width, $height) ->enableAlphaBlending(TRUE) - ->addBackgroundColor(255, 255, 255, 127) - ->addCenteredText($text, 64, 64, 64, 1); + ->addBackgroundColor(255, 255, 255) + ->addCenteredText($text, 64, 64, 64); $path = rtrim($path, '/'); diff --git a/src/Ion/Exception/ImageCreationException.php b/src/Ion/Exception/ImageCreationException.php index c9b01537..490d05bd 100644 --- a/src/Ion/Exception/ImageCreationException.php +++ b/src/Ion/Exception/ImageCreationException.php @@ -22,5 +22,5 @@ use RuntimeException; * Exception for bad configuration */ class ImageCreationException extends RuntimeException { - + } \ No newline at end of file