Details
-
Task
-
Resolution: Obsolete
-
Neutral
-
None
-
3.2.3
-
None
-
-
Empty show more show less
-
Empty show more show less
Description
When adding a text overlay within an image operation chain ... a TextStyleTransformer is required.
Current existing class info.magnolia.imaging.operations.text.TextStyleTransformer extends info.magnolia.content2bean.impl.Content2BeanTransformerImpl (which is deprecated).
We should deprecate this class and provide a TextStyleTransformer which extends info.magnolia.jcr.node2bean.impl.Node2BeanTransformerImpl.
With existing classes it seems impossible to add a text layer.
Also ensure the new component is registered in the module. Right now, if you want to use TextStyleTransformer, it must be registered in a module descriptor:
<components>
<id>main</id>
<component>
<type>info.magnolia.imaging.operations.text.TextStyleTransformer</type>
<implementation>info.magnolia.imaging.operations.text.TextStyleTransformer</implementation>
</component>
</components>
Checklists
Attachments
Issue Links
- is depended upon by
-
DOCU-648 Show the "Example operation chain: Image with watermark" on page "Imaging module"
-
- Closed
-
- is superseded by
-
MGNLIMG-200 Remove uses of the Content API
-
- Closed
-
- mentioned in
-
Page Loading...