Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Transparent PNG

Hi

I am using your free component set and have been trying to display a series of PNG images with transparency and thought that I could achieve this by loading them into a TLMDPNGImageList and connecting this to a TLMDLImage component and found out that I lose the transparency!

I know that I can get true transparency if I convert the PNG's to Bitmaps and load them directly into a TLMDNImage component which seems to have better control of the transparency. 

I just wondered why the 'L' variety of the image component can't do the same as the 'N' variety? 

Is this a limitation of the PNG format or am I missing something?

Bruce.

PS Great set of components by the way!

Comments

  • 2 Comments sorted by Votes Date Added
  • >>I just wondered why the 'L' variety of the image component can't do the same as the 'N' variety? <<
    The 'L' variant is completely dependend on the connected imagelist (L for List). Unlike ElPack controls (or other controls which explicitely support PNG images and AlphaChannel) conversion to Bitmap is done where AlphaChannel information gets lost.
    The NImage variant stores image itself.


Sign In or Register to comment.