diff --git a/src/Conversions/Conversion.php b/src/Conversions/Conversion.php index ba4145f26..d517cb08d 100644 --- a/src/Conversions/Conversion.php +++ b/src/Conversions/Conversion.php @@ -201,7 +201,7 @@ public function shouldBeQueued(): bool public function getResultExtension(string $originalFileExtension = ''): string { if ($this->shouldKeepOriginalImageFormat()) { - if (in_array(strtolower($originalFileExtension), ['jpg', 'jpeg', 'pjpg', 'png', 'gif'])) { + if (in_array(strtolower($originalFileExtension), ['jpg', 'jpeg', 'pjpg', 'png', 'gif', 'webp'])) { return $originalFileExtension; } }