Package com.adobe.acs.commons.images
Interface NamedImageTransformer
@ProviderType
public interface NamedImageTransformer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of this transform as defined in this instance's OSGi configuration.com.day.image.Layertransform(com.day.image.Layer layer) Transforms the param layer using all the parameterized image transformers defined in this instances OSGi configuration.
-
Field Details
-
PROP_NAME
The OSGi config property used to identify the named transform.- See Also:
-
-
Method Details
-
transform
com.day.image.Layer transform(com.day.image.Layer layer) Transforms the param layer using all the parameterized image transformers defined in this instances OSGi configuration.- Parameters:
layer- the image layer to transform- Returns:
- the transform image layer; or if no modifications are possible (invalid named transforms/named transform parameters) the layer unmodified
-
getTransformName
String getTransformName()Returns the name of this transform as defined in this instance's OSGi configuration. The transform name is also used to construct URLs for theNamedTransformImageServlet- Returns:
- the transform name
-
getImageTransforms
- Returns:
- the ImageTransforms types and their params for this Named Image Transform
-