Stuff
This commit is contained in:
parent
774eadbeca
commit
0f64bace4e
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class PublicController extends BaseController
|
||||||
if($size == "pixel") {
|
if($size == "pixel") {
|
||||||
$start = microtime(true);
|
$start = microtime(true);
|
||||||
$image = ImageResize::createFromString($file);
|
$image = ImageResize::createFromString($file);
|
||||||
$image->resizeToLongSide(self::SIZE_BIG);
|
$image->resizeToLongSide(self::SIZE_PIXEL);
|
||||||
Storage::disk("cache")->put($cacheName."_pixel", $image->getImageAsString());
|
Storage::disk("cache")->put($cacheName."_pixel", $image->getImageAsString());
|
||||||
$ende = microtime(true);
|
$ende = microtime(true);
|
||||||
Log::info("Dauer umwandlung pixel: ".($ende-$start). "/" . "Gesamtzeit: ".(microtime(true)-$globalstart));
|
Log::info("Dauer umwandlung pixel: ".($ende-$start). "/" . "Gesamtzeit: ".(microtime(true)-$globalstart));
|
||||||
|
|
Loading…
Reference in a new issue