This reference provides details on all PHP SDK transformation namespaces and classes.

For details on the PHP SDK management namespaces and classes, see the PHP SDK Management Reference.

Classes

Interface AccessoryObjectGravityInterface
Defines the category of transformation to perform.
Adjusts the visual appearance of an image or video.
Interface AdjustmentInterface
Interface AnimalObjectGravityInterface
Methods for editing an animated image.
Action for editing an animated image.
Defines the animated format of the delivered asset.
Interface ApplianceObjectGravityInterface
Defines the available named colors.
Defines how to rotate an image.
Defines how to implement a background gradient fade effect.
The available directions for a background gradient fade effect.
Defines how to rotate an image.
Controls the audio codec or removes the audio channel.
Interface AudioFormatInterface
Controls audio sample frequency.
Defines how the audio layer is applied.
Defines how to manipulate an audio layer.
Automatically sets the background color when resizing with padding.
Defines the custom colors to use when resizing using content-aware padding.
Defines the objects that can be focused on.
Automatically sets the background color when resizing with padding.
Automatically identifies the most interesting regions to include when resizing.
Defines the background color to use instead of transparent background areas or when resizing with padding.
Class BackgroundRemoval
Class BaseAction
Class BaseResizeAction
Defines the video bitrate in bits per second.
Defines the mode of blending to use when overlaying an image.
Applies a blur to the background of a video when resizing with padding.
Adds a solid border around an image or video.
Adds a solid border around an image or video.
Defines the clipping path to use when trimming pixels.
Defines the video codec level.
Defines the video codec profile.
Controls the color space used for the delivered image.
Defines the gravity value based on directional values from a compass.
Defines the gravity based on directional values from a compass.
Indicates that the video should be concatenated on to the container video and not added as an overlay.
Class Condition
Calls a custom function.
Trims pixels according to the transparency levels of a specified overlay image.
Defines transformations for delivering your assets without changing the visual or audio experience for the end user.
Defines effects that you can apply to transform your assets.
Interface ElectronicObjectGravityInterface
Defines the supported operators for arithmetic expressions.
Class BaseExpressionBuilder
Class BaseOperator
Defines the supported operators for arithmetic expressions.
Defines the supported image characteristics for conditional transformations.
Defines the logical operators for chaining conditional transformations.
Methods for managing operators.
The predefined variables for specifying conditional transformations.
The relational operators for evaluating numeric expressions.
The relational operators for evaluating string expressions.
Defines the supported operators for arithmetic expressions.
Represents a user variable expression component.
Represents one or more pages of a paged document, such as a PDF or TIFF file.
Defines how to manipulate an image layer.
Defines how to manipulate a fetched video layer.
Adjusts the fill light and blends the result with the original image.
Defines flags that you can use to alter the default transformation behavior.
Defines the area to keep when automatically resizing an image.
Defines the objects that can be focused on.
Interface FoodObjectGravityInterface
Defines the available foreground objects.
Defines the format of the delivered asset.
Interface FormatInterface
Fps
Controls the range of acceptable FPS (Frames Per Second) to ensure that video (even when optimized) is delivered with an expected FPS level (helps with sync to audio).
Represents a frame in an animated GIF.
Interface FurnitureObjectGravityInterface
Using generative AI, you can automatically add visually realistic pixels to either or both dimensions of the image.
Class GradientFade
Defines the focal gravity for certain methods of cropping.
Defines effects that you can apply to transform your images.
Interface ImageFormatInterface
Defines how to manipulate an image layer.
Defines how to transform an image.
Defines how to improve an image by automatically adjusting image colors, contrast and brightness.
Interface IndoorObjectGravityInterface
Interface KitchenObjectGravityInterface
Defines the position of a layer - overlay or underlay.
Defines the 3D lookup table to apply to images and videos.
Defines objects to use as the focal gravity of crops.
Interface ObjectGravityPriorityInterface
Adjusts the opacity of the image to the specified percentage of opaqueness, making it semi-transparent.
Interface OutdoorObjectGravityInterface
Defines the custom colors to use when resizing using content-aware padding.
Interface PersonObjectGravityInterface
Class Position
Represents a layer in a Photoshop document.
Tools for working with specified layers of a Photoshop image
Defines how to apply a particular transformation.
Dpr
Class Dpr
Class BreakpointsJson
Controls the quality of the delivered image or video.
Converts the colors of every pixel in an image based on the supplied color matrix, in which the value of each color channel is calculated based on the values from all other channels (e.g. a 3x3 matrix for RGB, a 4x4 matrix for RGBA or CMYK, etc).
Class RemoveBackground
Maps an input color and those similar to the input color to corresponding shades of a specified output color, taking luminosity and chroma into account, in order to recolor objects in your image in a natural way.
Adjusts the shape of the delivered image.
Determines how to crop, scale, and/or zoom the delivered asset according to the requested dimensions.
Indicates that the requested dimensions for the resize are percentage values relative to another asset or element, rather than pixel values.
Rotates or flips an image or video by the specified number of degrees, or automatically (images only) according to its orientation or available metadata.
Round one or more corners of an image or video.
Represents an embedded smart object in a Photoshop document.
Defines the asset to use as the layered file in an overlay or underlay.
The predefined streaming profiles.
Applies a complex deep learning neural network algorithm that extracts artistic styles from a source image and applies them to the content of a target photograph.
Defines how to manipulate a subtitle layer.
Defines how to manipulate a text layer.
Defines how to transcode a video to another format
Defines how to manipulate and transform images.
Defines how to manipulate a video layer.
Detect and remove image edges whose color is similar to corner pixels.
Defines methods for using variables.
Class Vectorize
Interface VehicleObjectGravityInterface
Determines the video codec to use.
Methods for editing a video.
Defines how to manipulate the appearance of a video.
Interface ImageFormatInterface
Defines how the video layer is applied.
Defines how to manipulate a video layer.
Defines how to manipulate and transform videos.
Interface VideoTransformationInterface
Enhances an image to its best visual quality with the Viesus Automatic Image Enhancement add-on.
Controls the volume of an audio or video file.