Results 1 to 7 of 7

Thread: ImageList control and alpha blending

  1. #1

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629

    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
    -= a peet post =-

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    What is the color depth on your imagelist?

  3. #3

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    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 )
    -= a peet post =-

  4. #4
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    Is this an Ico, a gif, or something else?

    Also, is it transparent in the image, or does the image have a BG color.

  5. #5

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    it is a png file

    this file :
    -= a peet post =-

  6. #6
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    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

  7. #7

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    Thanks Negative0

    goddamn MS.... I really hate them for this

    thanks again for taking the time
    -= a peet post =-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width