Interface ImageTransformer

  • All Known Implementing Classes:
    ImageMagickTransformer, TinifyTransformer

    public interface ImageTransformer
    Perform image transformation from the source path to the target path.
    Author:
    avasquez
    • Method Detail

      • transform

        void transform​(Path sourcePath,
                       Path targetPath,
                       Map<String,​String> parameters)
                throws ImageTransformationException
        Transforms the image at sourcePath and saves it into targetPath.
        Parameters:
        sourcePath - the source image path
        targetPath - the target path where to put the transformed image.
        parameters - additional parameters needed by the transformer
        Throws:
        ImageTransformationException - if an error occurred