We have a workflow to automatically create static renditions for use in our app. Renditions are created for a range of image sizes from 384 to 1920 pixels wide. We do this using a "Process Thumbnails" step for each required resolution in the workflow.
The image quality at higher resolutions is not as good as we had expected, and I've noticed that the file size is the same for image widths 1280 and above.
1280, 1440, 1792, and 1920 pixel width images all have the same file size, despite the difference in resolution and I think this could be contributing to the quality not being what we want.
Why might this be happening and what we can do to change the behaviour so that larger images have larger files and thus better (hopefully) quality?
Example renditions for a processed file
Views
Replies
Total Likes
Hi @snug ,
I assume you are using the DAM update asset workflow to extract the rendition on asset upload, can you please share the xml of the workflow, which should include the "Process Thumbnails" step?
Views
Replies
Total Likes
Hi @anupampat, similar steps were added to the DAM Update Asset workflow, but this is in a separate workflow because we already have a lot in the DAM and need it on existing assets too.
I've included the XML for the workflow below. Thanks in advance
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="cq:Page">
<jcr:content
cq:designPath="/libs/settings/wcm/designs/default"
cq:lastModified="{Date}2024-03-06T11:18:50.592+11:00"
cq:template="/libs/cq/workflow/templates/model"
jcr:primaryType="cq:PageContent"
jcr:title="Generate renditions"
sling:resourceType="cq/workflow/components/pages/model"
multiResourceSupport="true"
transient="true">
<flow
jcr:primaryType="nt:unstructured"
sling:resourceType="foundation/components/parsys">
<batchthumbnailproces_68033789
jcr:created="{Date}2019-07-13T19:03:29.792+05:30"
jcr:description="Creates PNG renditions"
jcr:lastModified="{Date}2024-03-06T11:18:50.590+11:00"
jcr:primaryType="nt:unstructured"
jcr:title="Generate PNG renditions"
sling:resourceType="dam/components/workflow/batchthumbnailprocess">
<metaData
jcr:primaryType="nt:unstructured"
CONFIGS="[384:216:false,512:288:false,640:360:false,992:558:false,1280:720:false,1440:810:false,1792:1008:false,1920:1080:false]"
CREATE_FPO_MIMETYPES="[image/pjpeg,image/jpeg,image/jpg,image/gif,image/x-png,image/tiff,image/png,application/x-photoshop,application/photoshop,image/vnd.adobe.photoshop,application/vnd.adobe.photoshop,image/bmp,image/x-tiff]"
FPO_QUALITY="10"
PROCESS="com.day.cq.dam.core.impl.process.BatchThumbnailProcess"
PROCESS_AUTO_ADVANCE="true"
SKIP="[audio/mpeg,video/(.*),image/(.*)]"/>
</batchthumbnailproces_68033789>
<batchthumbnailproces_1577724540
jcr:created="{Date}2019-07-13T19:03:29.792+05:30"
jcr:description="This process will create one or more thumbnails for the batch of assets, create web enabled rendition and update folder thumbnail."
jcr:lastModified="{Date}2024-02-27T13:55:32.989+11:00"
jcr:primaryType="nt:unstructured"
jcr:title="Generate 384w Web Rendition"
sling:resourceType="dam/components/workflow/batchthumbnailprocess">
<metaData
jcr:primaryType="nt:unstructured"
CREATE_FPO_MIMETYPES="[image/pjpeg,image/jpeg,image/jpg,image/gif,image/x-png,image/tiff,image/png,application/x-photoshop,application/photoshop,image/vnd.adobe.photoshop,application/vnd.adobe.photoshop,image/bmp,image/x-tiff]"
FPO_QUALITY="10"
HEIGHT="216"
KEEP_FORMAT_LIST="image/jpeg"
MIME_TYPE="image/jpeg"
PROCESS="com.day.cq.dam.core.impl.process.BatchThumbnailProcess"
PROCESS_AUTO_ADVANCE="true"
QUALITY="90"
SKIP="[audio/mpeg,video/(.*)]"
WIDTH="384"/>
</batchthumbnailproces_1577724540>
<batchthumbnailproces_638102603
jcr:created="{Date}2019-07-13T19:03:29.792+05:30"
jcr:description="This process will create one or more thumbnails for the batch of assets, create web enabled rendition and update folder thumbnail."
jcr:lastModified="{Date}2024-02-27T13:55:37.854+11:00"
jcr:primaryType="nt:unstructured"
jcr:title="Generate 512w Web Rendition"
sling:resourceType="dam/components/workflow/batchthumbnailprocess">
<metaData
jcr:primaryType="nt:unstructured"
CREATE_FPO_MIMETYPES="[image/pjpeg,image/jpeg,image/jpg,image/gif,image/x-png,image/tiff,image/png,application/x-photoshop,application/photoshop,image/vnd.adobe.photoshop,application/vnd.adobe.photoshop,image/bmp,image/x-tiff]"
FPO_QUALITY="10"
HEIGHT="288"
KEEP_FORMAT_LIST="image/jpeg"
MIME_TYPE="image/jpeg"
PROCESS="com.day.cq.dam.core.impl.process.BatchThumbnailProcess"
PROCESS_AUTO_ADVANCE="true"
QUALITY="90"
SKIP="[audio/mpeg,video/(.*)]"
WIDTH="512"/>
</batchthumbnailproces_638102603>
<batchthumbnailproces_257438516
jcr:created="{Date}2019-07-13T19:03:29.792+05:30"
jcr:description="This process will create one or more thumbnails for the batch of assets, create web enabled rendition and update folder thumbnail."
jcr:lastModified="{Date}2024-02-27T13:55:42.195+11:00"
jcr:primaryType="nt:unstructured"
jcr:title="Generate 640w Web Rendition"
sling:resourceType="dam/components/workflow/batchthumbnailprocess">
<metaData
jcr:primaryType="nt:unstructured"
CREATE_FPO_MIMETYPES="[image/pjpeg,image/jpeg,image/jpg,image/gif,image/x-png,image/tiff,image/png,application/x-photoshop,application/photoshop,image/vnd.adobe.photoshop,application/vnd.adobe.photoshop,image/bmp,image/x-tiff]"
FPO_QUALITY="10"
HEIGHT="360"
KEEP_FORMAT_LIST="image/jpeg"
MIME_TYPE="image/jpeg"
PROCESS="com.day.cq.dam.core.impl.process.BatchThumbnailProcess"
PROCESS_AUTO_ADVANCE="true"
QUALITY="90"
SKIP="[audio/mpeg,video/(.*)]"
WIDTH="640"/>
</batchthumbnailproces_257438516>
<batchthumbnailproces_721615042
jcr:created="{Date}2019-07-13T19:03:29.792+05:30"
jcr:description="This process will create one or more thumbnails for the batch of assets, create web enabled rendition and update folder thumbnail."
jcr:lastModified="{Date}2024-02-27T13:55:46.429+11:00"
jcr:primaryType="nt:unstructured"
jcr:title="Generate 992w Web Rendition"
sling:resourceType="dam/components/workflow/batchthumbnailprocess">
<metaData
jcr:primaryType="nt:unstructured"
CREATE_FPO_MIMETYPES="[image/pjpeg,image/jpeg,image/jpg,image/gif,image/x-png,image/tiff,image/png,application/x-photoshop,application/photoshop,image/vnd.adobe.photoshop,application/vnd.adobe.photoshop,image/bmp,image/x-tiff]"
FPO_QUALITY="10"
HEIGHT="558"
KEEP_FORMAT_LIST="image/jpeg"
MIME_TYPE="image/jpeg"
PROCESS="com.day.cq.dam.core.impl.process.BatchThumbnailProcess"
PROCESS_AUTO_ADVANCE="true"
QUALITY="90"
SKIP="[audio/mpeg,video/(.*)]"
WIDTH="992"/>
</batchthumbnailproces_721615042>
<batchthumbnailproces_197836282
jcr:created="{Date}2019-07-13T19:03:29.792+05:30"
jcr:description="This process will create one or more thumbnails for the batch of assets, create web enabled rendition and update folder thumbnail."
jcr:lastModified="{Date}2024-02-27T13:55:51.318+11:00"
jcr:primaryType="nt:unstructured"
jcr:title="Generate 1280w Web Rendition"
sling:resourceType="dam/components/workflow/batchthumbnailprocess">
<metaData
jcr:primaryType="nt:unstructured"
CREATE_FPO_MIMETYPES="[image/pjpeg,image/jpeg,image/jpg,image/gif,image/x-png,image/tiff,image/png,application/x-photoshop,application/photoshop,image/vnd.adobe.photoshop,application/vnd.adobe.photoshop,image/bmp,image/x-tiff]"
FPO_QUALITY="10"
HEIGHT="720"
KEEP_FORMAT_LIST="image/jpeg"
MIME_TYPE="image/jpeg"
PROCESS="com.day.cq.dam.core.impl.process.BatchThumbnailProcess"
PROCESS_AUTO_ADVANCE="true"
QUALITY="90"
SKIP="[audio/mpeg,video/(.*)]"
WIDTH="1280"/>
</batchthumbnailproces_197836282>
<batchthumbnailproces_347387860
jcr:created="{Date}2019-07-13T19:03:29.792+05:30"
jcr:description="This process will create one or more thumbnails for the batch of assets, create web enabled rendition and update folder thumbnail."
jcr:lastModified="{Date}2024-02-27T13:55:55.868+11:00"
jcr:primaryType="nt:unstructured"
jcr:title="Generate 1440w Web Rendition"
sling:resourceType="dam/components/workflow/batchthumbnailprocess">
<metaData
jcr:primaryType="nt:unstructured"
CREATE_FPO_MIMETYPES="[image/pjpeg,image/jpeg,image/jpg,image/gif,image/x-png,image/tiff,image/png,application/x-photoshop,application/photoshop,image/vnd.adobe.photoshop,application/vnd.adobe.photoshop,image/bmp,image/x-tiff]"
FPO_QUALITY="10"
HEIGHT="810"
KEEP_FORMAT_LIST="image/jpeg"
MIME_TYPE="image/jpeg"
PROCESS="com.day.cq.dam.core.impl.process.BatchThumbnailProcess"
PROCESS_AUTO_ADVANCE="true"
QUALITY="90"
SKIP="[audio/mpeg,video/(.*)]"
WIDTH="1440"/>
</batchthumbnailproces_347387860>
<batchthumbnailproces_1908616357
jcr:created="{Date}2019-07-13T19:03:29.792+05:30"
jcr:description="This process will create one or more thumbnails for the batch of assets, create web enabled rendition and update folder thumbnail."
jcr:lastModified="{Date}2024-02-27T13:56:00.267+11:00"
jcr:primaryType="nt:unstructured"
jcr:title="Generate 1792w Web Rendition"
sling:resourceType="dam/components/workflow/batchthumbnailprocess">
<metaData
jcr:primaryType="nt:unstructured"
CREATE_FPO_MIMETYPES="[image/pjpeg,image/jpeg,image/jpg,image/gif,image/x-png,image/tiff,image/png,application/x-photoshop,application/photoshop,image/vnd.adobe.photoshop,application/vnd.adobe.photoshop,image/bmp,image/x-tiff]"
FPO_QUALITY="10"
HEIGHT="1008"
KEEP_FORMAT_LIST="image/jpeg"
MIME_TYPE="image/jpeg"
PROCESS="com.day.cq.dam.core.impl.process.BatchThumbnailProcess"
PROCESS_AUTO_ADVANCE="true"
QUALITY="90"
SKIP="[audio/mpeg,video/(.*)]"
WIDTH="1792"/>
</batchthumbnailproces_1908616357>
<batchthumbnailproces_2072117884
jcr:created="{Date}2019-07-13T19:03:29.792+05:30"
jcr:description="This process will create one or more thumbnails for the batch of assets, create web enabled rendition and update folder thumbnail."
jcr:lastModified="{Date}2024-02-27T13:56:06.969+11:00"
jcr:primaryType="nt:unstructured"
jcr:title="Generate 1920w Web Rendition"
sling:resourceType="dam/components/workflow/batchthumbnailprocess">
<metaData
jcr:primaryType="nt:unstructured"
CREATE_FPO_MIMETYPES="[image/pjpeg,image/jpeg,image/jpg,image/gif,image/x-png,image/tiff,image/png,application/x-photoshop,application/photoshop,image/vnd.adobe.photoshop,application/vnd.adobe.photoshop,image/bmp,image/x-tiff]"
FPO_QUALITY="10"
HEIGHT="1080"
KEEP_FORMAT_LIST="image/jpeg"
MIME_TYPE="image/jpeg"
PROCESS="com.day.cq.dam.core.impl.process.BatchThumbnailProcess"
PROCESS_AUTO_ADVANCE="true"
QUALITY="90"
SKIP="[audio/mpeg,video/(.*)]"
WIDTH="1920"/>
</batchthumbnailproces_2072117884>
</flow>
</jcr:content>
</jcr:root>
Views
Replies
Total Likes
I found the cause of this and it's unrelated to the workflow. The web console has a property for the max resolution that can be created which is 1280x1280 by default. To create larger renditions you need to update the Max Dimension setting in Day CQ DAM Buffered Image Cache
Views
Replies
Total Likes