18 declare(strict_types=1);
30 public const FOREVER_ID =
'5cd8cb02a6382208da39cc142cbf993f42995452bb6c8d9897a2e227fb238c62';
33 protected bool $persist =
false,
34 protected int $max_size = 512,
35 protected int $quality = 75
41 return self::FOREVER_ID;
52 return $this->quality;
57 return $this->max_size;
62 return 'fit_to_square';
67 return $this->max_size .
'_' . $this->quality;
73 return $this->persist;
__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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getFlavourMachineId()
Defines the ID of the machine that supports this definition.
persist()
Define whether the generated flavor and the respective streams should be persisted, or whether they should only be generated and used in-memory.