Interface ImageOperation
-
- All Known Implementing Classes:
AbstractImageOperation
,AbstractScaleImageOperation
,CropAndScaleImageOperation
,ScaleImageOperation
,ScaleSvgOperation
public interface ImageOperation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageOperationResult
run(InputStream data, String mimeType)
Runs an image operation and returns the result.
-
-
-
Method Detail
-
run
ImageOperationResult run(InputStream data, String mimeType) throws GalleryException
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
-
-