临时修复[GD方式]

临时添加可使用方法
This commit is contained in:
SANYE-YA 2025-08-07 04:51:49 +08:00 committed by GitHub
parent 2e39fbce77
commit 3409c98914
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -167,7 +167,7 @@ class TextureController extends Controller
$lastModified = Carbon::createFromTimestamp($disk->lastModified($hash));
return Image::make($image)
return \Intervention\Image\ImageManagerStatic::configure(['driver' => 'gd'])->make($image)
->resize($size, $size)
->response($usePNG ? 'png' : 'webp', 100)
->setLastModified($lastModified);