DeliveryBuilderTrait
trait DeliveryBuilderTrait
Trait DeliveryBuilderTrait
Methods
Controls the color space used for the delivered image.
Specifies the ICC profile to use for the color space.
Controls the density to use when delivering an image or when converting a vector file such as a PDF or EPS document to a web image delivery format.
Uses the specified public ID of a placeholder image if the requested image or social network picture does not exist. The name of the placeholder image must include the file extension.
Details
static ColorSpace
colorSpace(string $colorSpace)
Controls the color space used for the delivered image.
Use the constants defined in \Cloudinary\Transformation\ColorSpace for $colorSpace.
static ColorSpace
colorSpaceFromIcc(string $publicId)
Specifies the ICC profile to use for the color space.
The ICC file must be uploaded to your cloud as a raw, authenticated file.
Alias for ColorSpace::icc
static Quality
quality(int|Quality|mixed $level, null|string $preset = null)
Controls the compression quality for images and videos.
Reducing the quality is a trade-off between visual quality and file size.
static Density
density(int|string $density)
Controls the density to use when delivering an image or when converting a vector file such as a PDF or EPS document to a web image delivery format.
static DeliveryBuilderTrait
defaultImage(DefaultImage|string $defaultImage)
Uses the specified public ID of a placeholder image if the requested image or social network picture does not exist. The name of the placeholder image must include the file extension.