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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
transform(Path sourcePath, Path targetPath, Map<String,String> parameters)
Transforms the image atsourcePath
and saves it intotargetPath
.
-
-
-
Method Detail
-
transform
void transform(Path sourcePath, Path targetPath, Map<String,String> parameters) throws ImageTransformationException
Transforms the image atsourcePath
and 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
-
-