Interface ImageContentTransformer

All Superinterfaces:
ContentTransformer<Image>

public interface ImageContentTransformer extends ContentTransformer<Image>
This interface defines the API that has to be implemented by classes that are capable of transforming image content data after it's initially loaded.

The content attributes are provided to the transform method and can be used to provide hints for the transformation.

Since:
1.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    transform(Image data, Map<String,String> attributes)
    Transforms the image content data and returns the transformed data as an Image.
  • Method Details

    • transform

      Image transform(Image data, Map<String,String> attributes)
      Transforms the image content data and returns the transformed data as an Image.
      Specified by:
      transform in interface ContentTransformer<Image>
      Parameters:
      data - the image that has to be transformed
      attributes - a map of content attributes that can be used to provide hints or parameters for the transformation
      Returns:
      the transformed image
      Since:
      1.0