Interface ImageOperation
- All Known Implementing Classes:
AbstractImageOperation
,AbstractScaleImageOperation
,CropAndScaleImageOperation
,ScaleImageOperation
,ScaleSvgOperation
public interface ImageOperation
-
Method Summary
Modifier and TypeMethodDescriptionrun
(InputStream data, String mimeType) Runs an image operation and returns the result.
-
Method Details
-
run
Runs an image operation and returns the result.- Parameters:
data
- the image data. The stream is closed by this method.mimeType
- MIME type of the image- Throws:
GalleryException
- when the image operation fails
-