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

SOLVED

dynamic media in aem 6.2 changing the transparent png image background to white

sachinn20956098
Level 2
Level 2

I am using the dynamic media to render images in AEM 6.2. However when I try to render a transparent image using Dynamic Media , the resulting image is turned to a normal image with white background.

For Example , content path in DAM : /content/dam/silversea-com/19.png

Rendering using dynamic media with this path : /is/image/content/dam/silversea-com/19.png??wid=90&hei=90

(even /is/image/content/dam/silversea-com/19.png for that matter )

Any idea why this is occurring ?

Thanks

Sachin

1 Accepted Solution
agulati1901
Correct answer by
Employee
Employee

Try rendering the image using png-alpha format , like adding &fmt=png-alpha to the url.

View solution in original post

2 Replies
kautuk_sahni
Community Manager
Community Manager

Moving this to AEM Assets topic!!

agulati1901
Correct answer by
Employee
Employee

Try rendering the image using png-alpha format , like adding &fmt=png-alpha to the url.

View solution in original post