From 291edfdd7b598703974387cc804f92a7d665bf7d Mon Sep 17 00:00:00 2001 From: Fascinated Date: Wed, 12 Apr 2023 03:10:09 +0100 Subject: [PATCH] change default webp quality --- upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.php b/upload.php index 83c017a..ab2cb8b 100644 --- a/upload.php +++ b/upload.php @@ -9,7 +9,7 @@ $uploadSecrets = array("set me"); // Your secret keys $uploadDir = "./"; // The upload directory $useRandomFileNames = false; // Use random file names instead of the original file name $shouldConvertToWebp = true; // Should the script convert images to webp? -$webpQuality = 90; // The quality of the webp image (0-100) +$webpQuality = 95; // The quality of the webp image (0-100) $fileNameLength = 8; // The length of the random file name $webpThreadhold = 1048576; // 1MB - The minimum file size for converting to webp (in bytes)