Looking for transparent PNG support in AEM
Why are my uploaded transparent PNG assets being published to the CDN with a white background?
Why are my uploaded transparent PNG assets being published to the CDN with a white background?
Hi @sverdoor ,
I know that such problem happens when you use Dynamic Media. Any transparent images (PNG) become not transparent in WEBP or JPEG format.
There are 2 options how to get image with transparent background:
1) If you use Image component: configure "Image Modifiers" in the Image component: fmt=png-alpha&bfc=on
2) If you use asset URL: add fmt=png-alpha&bfc=on request parameters
To make it global, I would suggest to configure Image Preset.
- Leave Height and Width empty to enabled responsiveness feature
- Format: PNG with Alpha
Best regards,
Kostiantyn Diachenko.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.