Class CropAndScaleImageOperation
java.lang.Object
org.hippoecm.frontend.plugins.gallery.imageutil.AbstractImageOperation
org.hippoecm.frontend.plugins.gallery.imageutil.AbstractScaleImageOperation
org.hippoecm.frontend.plugins.gallery.imageutil.ScaleImageOperation
org.hippoecm.frontend.plugins.gallery.imageutil.CropAndScaleImageOperation
- All Implemented Interfaces:
ImageOperation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BufferedImage
processImage
(ImageReader reader, int originalWidth, int originalHeight) Methods inherited from class org.hippoecm.frontend.plugins.gallery.imageutil.ScaleImageOperation
execute, run
Methods inherited from class org.hippoecm.frontend.plugins.gallery.imageutil.AbstractScaleImageOperation
calculateResizeRatio, calculateResizeRatio, getCompressionQuality, getParameters, getScaledData, getScaledHeight, getScaledWidth
Methods inherited from class org.hippoecm.frontend.plugins.gallery.imageutil.AbstractImageOperation
execute, getResult, setResult
-
Constructor Details
-
CropAndScaleImageOperation
-
-
Method Details
-
processImage
protected BufferedImage processImage(ImageReader reader, int originalWidth, int originalHeight) throws IOException - Overrides:
processImage
in classScaleImageOperation
- Throws:
IOException
-