From 2c51a000a9f2f51f54b761e4975086f9db3780a4 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 3 May 2025 16:50:50 +0500 Subject: upd: big changes in database.sql + .webp is now default image format --- src/images.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/images.php') diff --git a/src/images.php b/src/images.php index d57794f..6ce8b5a 100644 --- a/src/images.php +++ b/src/images.php @@ -12,7 +12,7 @@ function resize_image(string $src_path, string $dst_path, int $max_width, int $m $imagick = new Imagick(); $imagick->readImage($src_path); - $format = "." . strtolower($imagick->getImageFormat()); + $format = ".webp"; if (!$set_format) { $format = ""; -- cgit v1.2.3