Image Transparency saving but Not showing.
-
Hello Friends I saved a Image with some transparency state by using Colormatrix And ImageAttribues In GDIplus.And that image is saving with actual value of transparency.But when I load that image and add it to devicecontext then its transparency is not coming there(Means If i set transparency 0 then black image is coming And If I set 1 then also white is coming but If I set any other value Between 0 And 1 then that transparency level is not coming ,It is showing completely white for >0) Any Ideas? Thanks & Regards Yogesh
-
Hello Friends I saved a Image with some transparency state by using Colormatrix And ImageAttribues In GDIplus.And that image is saving with actual value of transparency.But when I load that image and add it to devicecontext then its transparency is not coming there(Means If i set transparency 0 then black image is coming And If I set 1 then also white is coming but If I set any other value Between 0 And 1 then that transparency level is not coming ,It is showing completely white for >0) Any Ideas? Thanks & Regards Yogesh
-
In which format you saved image ? 32 bpp bitmap or PNG ? in that case it is fine. which function you use to draw the image ? if you use DrawImage function in gdiplus with a 32bit bmp ,it will work for sure.
If u can Dream... U can do it