public class DefaultImageGenerator extends ImageOperationChain<ParameterProvider<javax.jcr.Node>>
ImageGenerator
with some provided defaults.
The OutputFormat
and ImageOperation
s can
easily be overwritten by configuration in JCR.
This ImageGenerator
will expect workspace name and path of a Node
,
e.g. /.imaging/default/contacts/ldavinci/photo.jpeg
where default
specifies the
name of this ImageGenerator
, contacts
is the workspace name and
/ldavinci/photo
is the path to the binary Node
.
Modifier and Type | Field and Description |
---|---|
static String |
GENERATOR_NAME |
Constructor and Description |
---|
DefaultImageGenerator() |
addOperation, apply, generate, getName, getOperations, getOutputFormat, getOutputFormat, getParameterProviderFactory, setName, setOperations, setOutputFormat, setParameterProviderFactory
public static final String GENERATOR_NAME
Copyright © 2015 Magnolia International Ltd.. All rights reserved.