Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Dam upload asset

Level 1
Level 1


Could you please suggest me

when we have uploaded PDF thumbnail rendition is created. Is it possible to set background color for generated thumbnail by customizing Rendetion image processing step or Thumbnail process step?


Kiran Kumar

2 Replies
Community Advisor
Community Advisor

Not by using OOB CreateThumbnailProcess API but using ImageMagick API. You may've to customize if OOB API version doesn't support the 'background' flag in your existing AEM version. Check ImageMagick API for more details.

sample command -

mime:image/jpeg,cmd:convert ${filename} -define jpeg:size=319x319 -thumbnail "319x319>" -background transparent -gravity center -extent 319x319 -write png:cq5dam.thumbnail.319.319.png

Best Practices for Configuring ImageMagick

CreateThumbnailProcess ("The Adobe AEM Quickstart and Web Application.")