Issue

Transparent images lose their transparent pixels when displayed in CQ. You use /apps/Components/image component to display your images.

Solution

Flatten the layer with a color that is not already in your image (for example, cyan). Then, set the transparency to the same color in /apps/Components/image/ImageObj.esp writeLayer()

Additional information

The transparency in GIFs is done marking one palette index as transparent. When flattening the layer, the previous transparent pixels could get another color.

Dette arbejde har licens under en Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Opslag på Twitter™ og Facebook er ikke omfattet af vilkårene for Creative Commons.

Juridiske meddelelser   |   Politik for beskyttelse af personlige oplysninger online