Interface ImageTransformer
-
- All Known Implementing Classes:
ImageMagickTransformer,TinifyTransformer
public interface ImageTransformerPerform image transformation from the source path to the target path.- Author:
- avasquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtransform(Path sourcePath, Path targetPath, Map<String,String> parameters)Transforms the image atsourcePathand saves it intotargetPath.
-
-
-
Method Detail
-
transform
void transform(Path sourcePath, Path targetPath, Map<String,String> parameters) throws ImageTransformationException
Transforms the image atsourcePathand saves it intotargetPath.- Parameters:
sourcePath- the source image pathtargetPath- the target path where to put the transformed image.parameters- additional parameters needed by the transformer- Throws:
ImageTransformationException- if an error occurred
-
-