http://www.vbforums.com/showthread.p...hreadid=291616
since you guys in here does nothing but color blending all day... :D
Printable View
http://www.vbforums.com/showthread.p...hreadid=291616
since you guys in here does nothing but color blending all day... :D
Double posting arn't we...:D....I have never used VB.NET.....sooo...ehh...
What kind of file format is the picture? Can you show me the code when you are loading it and "Blting" it...
What format is the file in? Loading a image into VB (ImageList or PictureBox) at design time normally makes it get converted to a 24bit BMP which would mean no Alpha Channel ;).
I trippled it :DQuote:
Originally posted by NoteMe
Double posting arn't we...:D....I have never used VB.NET.....sooo...ehh...
What kind of file format is the picture? Can you show me the code when you are loading it and "Blting" it...
and no goddamn it .... don't want to do any blitting!
I just want the damn MS component to work as they should for a change :(
I tell the controls what image in the list they are suppose to use and then MS should take care of the rest.
so... no code needed. just setting a couple of props and it SHOULD be ok grrrrrr.....
the image is a png file.Quote:
Originally posted by Electroman
What format is the file in? Loading a image into VB (ImageList or PictureBox) at design time normally makes it get converted to a 24bit BMP which would mean no Alpha Channel ;).
the image list says 32 bit in the image property...
the picture in the post shows the same image, one added to a imagelist with image prop set to 32 bit, then this is loaded onto a button. the second one is added to the button directly in the image property, and it looks ok to me.
what am I missing here...
I'm :confused: (nothing new in that :D )
Wouldn't you need an alpha channel to blend it, and what are you blending it with?
Hi Dw ,
what do you mean ?
The picture already has a alpha layer (or whaterver its called.)
the Image list is capable of containing 32bits pictures... that is 24 bits for colours and 8 bits for alpha layer.... this picture is not loaded onto the button as it should (look at the picture in the post linked above)
am I making sense at all here ?? this is all new to me, alpha layer and all that, but if I have understood it correctly, the alpha layer will make my graphics look smooth nomather what the colour of the background is....
pleas explain if I totally misunderstood this :)
If you are trying to eliminate jaggies, I think you would want anti-aliasing. Unless I am mistaken, blending helps with effects like transparency.
What is your final desired effect after you perform w/e you want to do?
You did click the link in the first post :confused: ;).Quote:
Posted by Darkwraith
If you are trying to eliminate jaggies, I think you would want anti-aliasing. Unless I am mistaken, blending helps with effects like transparency.
What is your final desired effect after you perform w/e you want to do?
anti-aliasing smoothes out edges. Blending gives the image transparency.Quote:
the alpha layer will make my graphics look smooth
Right now, I am just trying to figure out where is the blue is coming from (take a look at the blue surrounding the arrow and you will see that the arrow's shadow is blended with it)
The alpha channel he is using isn't just on or off its varrying. So where the blue is comming from is where it should be partly blended ;).
Yes, it should be varying. The alpha channel does not change the color of the image (It changes the result of the images being blended together.)Quote:
The alpha channel he is using isn't just on or off its varrying
The problem is that you have the color blue in it, so it is blending with something that is blue. The background is tan. Where is the blue coming from? Is your alpha being dictated by the blue?
(Sorry, I have knowledge in blending but not too much in imagelists.)
Thanks guys for taking the time.... :)
Negative 0 found what I was afraid of... (see the original post )
its a bug in the image list.... goddamn MS does it again.... nggghghghghagksfajsdølfkaj dflakjsfl I hate them for this :(
thanks again for spending time on me :)
peet
The solution appearently
I ran into this problem too, I don't know if you're still looking for a solution to this.
I haven't personally tried it out yet, but will do so soon. Hope it helps.