This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Transparent PNG

edited June 2013 in LMD ElPack
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

  • >>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.