TransformationDeliveryTrait
trait TransformationDeliveryTrait
Trait TransformationDeliveryTrait
Here we add the most common 'aliases' for building transformation at the top level
Methods
delivery(mixed $delivery)
Applies delivery action.
dpr(float|string $dpr)
Deliver the image in the specified device pixel ratio.
Details
TransformationDeliveryTrait
delivery(mixed $delivery)
Applies delivery action.
TransformationDeliveryTrait
format(Format|string $format)
Forces format conversion to the given format.
(Formerly known as fetch format)
TransformationDeliveryTrait
quality(int|string|Quality $quality)
Controls compression quality. 1 is the lowest quality and 100 is the highest.
Reducing the quality is a trade-off between visual quality and file size.
TransformationDeliveryTrait
dpr(float|string $dpr)
Deliver the image in the specified device pixel ratio.