Interface ImageTransformer


@ConsumerType public interface ImageTransformer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    OSGi Property used to identify the ImageTransformer.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Field Details

  • 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 transform
      properties - transformation parameters
      Returns:
      the transformed layer; or if layer could not be transformed (invalid properties) the layer unmodified