19declare(strict_types=1);
31 public const FOREVER_ID =
'013dd0d556b5716fe54f554623f92449bd0c86d80c698eaf3959b057b7a069a0';
34 protected bool $persist =
false,
35 protected int $max_size = 512,
36 protected int $quality = 75
48 return MaxSquareSizeMachine::ID;
53 return $this->quality;
58 return $this->max_size;
63 return 'crop_to_square';
68 return $this->max_size .
'_' . $this->quality;
73 return $this->persist;
persist()
Define whether the generated flavor and the respective streams should be persisted,...
__construct(protected bool $persist=false, protected int $max_size=512, protected int $quality=75)
getVariantName()
If a definition can be used in several variants (e.g.
getInternalName()
This defines the speaky internal name of the definition, as the consumer would like to use it,...
getFlavourMachineId()
Defines the ID of the machine that supports this definition.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...