This commit is contained in:
Kekskurse 2021-01-17 02:12:41 +01:00
parent 774eadbeca
commit 0f64bace4e

View file

@ -111,7 +111,7 @@ class PublicController extends BaseController
if($size == "pixel") {
$start = microtime(true);
$image = ImageResize::createFromString($file);
$image->resizeToLongSide(self::SIZE_BIG);
$image->resizeToLongSide(self::SIZE_PIXEL);
Storage::disk("cache")->put($cacheName."_pixel", $image->getImageAsString());
$ende = microtime(true);
Log::info("Dauer umwandlung pixel: ".($ende-$start). "/" . "Gesamtzeit: ".(microtime(true)-$globalstart));