From 002f33f5305db95878fcbcd07c682623798fbfff Mon Sep 17 00:00:00 2001 From: AriaieBOY Date: Thu, 21 Dec 2023 22:10:57 +0330 Subject: [PATCH] fix png transparent bug --- src/Conversions/Actions/PerformManipulationsAction.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Conversions/Actions/PerformManipulationsAction.php b/src/Conversions/Actions/PerformManipulationsAction.php index 037c26b0a..3114503f0 100644 --- a/src/Conversions/Actions/PerformManipulationsAction.php +++ b/src/Conversions/Actions/PerformManipulationsAction.php @@ -31,8 +31,7 @@ public function execute( } $image = Image::useImageDriver(config('media-library.image_driver')) - ->loadFile($conversionTempFile) - ->format('jpg'); + ->loadFile($conversionTempFile); try { $conversion->getManipulations()->apply($image);