info.magnolia.imaging.operations
Interface ImageOperation<P extends ParameterProvider<?>>
- Type Parameters:
P
- type of ParameterProvider
- All Known Implementing Classes:
- AbstractCropAndResize, AbstractFromContent, AbstractFromNode, AbstractLoader, AbstractTextOverlay, AbstractURLImageLoader, AutoCropAndResize, Blank, BoundedResize, BufferedImageOpDelegate, ClasspathImageLoader, FixedText, FromBinaryNode, FromContent, FromNodeData, ImageOperationChain, SelectedCropAndResize, TextFromNode, URLImageLoader
public interface ImageOperation<P extends ParameterProvider<?>>
Applies any kind of filtering to an Image.
TODO - the javadoc below is completely outdated.
TODO - Image generation/filtering parameters can come from various places. We'll need to define how these are aggregated, if needed, etc.
The filtering can be configured either by the end user or within the dialog definition.
- filterParams, an arbitrary object converted to and from javascript by ImagesProcessor using JSON,
represents the settings the user has chosen.
- dialogControlConfigNode is the node configuring the control in the dialog, which can have
properties set to specific values by the dialog designer (i.e if we had a ColouringFilter, it could
set some values to make sure that all images are turned into black/white)
- Version:
- $Id$
- See Also:
info.magnolia.module.imaging.ImagesProcessor
,
BufferedImageOp
apply
BufferedImage apply(BufferedImage source,
P params)
throws ImagingException
- Throws:
ImagingException
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.