Skip to main content
david_zamora
Oct 16, 2015 2:27 AM UTC
Solved

Compilation of RenditionMaker class for AEM 5.6.1 and AEM 6.0 will be successful?

We want to create a package that compiles right for both AEM 5.6.1 and AEM 6.0, if I used the class RenditionMaker, will this package compile and deploy successfully for both environments?

Thanks in advance,

David Zamora.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:27 AM UTC

No - com.day.cq.dam.api.renditions.RenditionMaker is an AEM 6 API - see:

http://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/com/day/cq/dam/api/renditions/RenditionMaker.html

Use ThumbnailGenerator in 5.6 or an earlier version. 

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:27 AM UTC

No - com.day.cq.dam.api.renditions.RenditionMaker is an AEM 6 API - see:

http://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/com/day/cq/dam/api/renditions/RenditionMaker.html

Use ThumbnailGenerator in 5.6 or an earlier version. 

Translate