|
-
May 27th, 2004, 10:14 AM
#1
Thread Starter
-= B u g S l a y e r =-
ImageList control and alpha blending
Hi all. I am trying to use an image list.... The graphics from the image list is shown, but the alpha blending is fuuuuuked...
The picture shows what I'm trying to say. The left button takes image from the imagelist, the right button has the image assigned from file directly. (same file as in the image list)
Anyone have any ideas how I can fix this?
thanks
peet
-
May 27th, 2004, 10:53 AM
#2
What is the color depth on your imagelist?
-
May 27th, 2004, 01:36 PM
#3
Thread Starter
-= B u g S l a y e r =-
hello N 0, thanks for taking the time. 
the colour depth is 32 bit. thats 24 bit colours + alpha .... i think ... or ? have I misunderstood something.... (I might have, this is a bit new to me... not sure I fully understand the concept of alpha blending )
-
May 27th, 2004, 03:25 PM
#4
Is this an Ico, a gif, or something else?
Also, is it transparent in the image, or does the image have a BG color.
-
May 27th, 2004, 03:33 PM
#5
Thread Starter
-= B u g S l a y e r =-
it is a png file
this file :
-
May 27th, 2004, 04:22 PM
#6
I searched around google groups a bit and found that this is a known bug with the designer. I guess it converts the Image to a bitmap when it stores it into the ImageList and in the conversion, the alpha channel is lost.
See this thread for more info:
http://groups.google.com/groups?hl=e...gbl%26rnum%3D3
-
May 27th, 2004, 05:20 PM
#7
Thread Starter
-= B u g S l a y e r =-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|