Package com.adobe.acs.commons.images
Interface ImageTransformer
@ConsumerType
public interface ImageTransformer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncom.day.image.Layertransform(com.day.image.Layer layer, org.apache.sling.api.resource.ValueMap properties) Transform the provided layer using the transformation parameters provided in properties.
-
Field Details
-
PROP_TYPE
OSGi Property used to identify the ImageTransformer.- See Also:
-
-
Method Details
-
transform
com.day.image.Layer transform(com.day.image.Layer layer, org.apache.sling.api.resource.ValueMap properties) Transform the provided layer using the transformation parameters provided in properties.- Parameters:
layer- the image layer to transformproperties- transformation parameters- Returns:
- the transformed layer; or if layer could not be transformed (invalid properties) the layer unmodified
-