diff options
Diffstat (limited to 'src/images.php')
| -rw-r--r-- | src/images.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 = ""; |
