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
-
Method Details
-
transform
void transform(Path sourcePath, Path targetPath, Map<String, String> parameters) throws ImageTransformationExceptionTransforms 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
-