Results 1 to 2 of 2

Thread: Imagelist, listview and alpha channel

  1. #1

    Thread Starter
    Lively Member Shardox's Avatar
    Join Date
    Nov 2006
    Location
    Barcelona, Spain
    Posts
    123

    Imagelist, listview and alpha channel

    Hello guys,

    I have been reading about this bug in this forum and others but I don't get my imagelist to stop corrupting the images. I have an imagelist filled with png images. These images have their own transparency.

    The first time I load the images in the imagelist, and bind this imagelist to a listview, the images are displayed correctly. But as time goes by (I know this sounds weird) the imagelist corrupts the images by adding a blue border to the PNGs and also by lowing the contrast of the images (or maybe adding more transparency to the whole image). I need to use the imagelist since I don't know another way to display images in a listview. Colordepth is set to 32bit which is the actual depth of all the PNG's loaded.

    I will be thankful for any links or comments

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Imagelist, listview and alpha channel

    I've seen the same thing but I just ignore it until it comes time to release my application, at which point I recreate the ImageList from scratch.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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