setImageOpacity
Posted: 2008-09-22T00:43:05-07:00
Hello,
i have a .gif (not animated) image with transparent background and i want to change the opacity of the image. but when i use the setImageOpacity function, the opacity of transparent areas change too. for example if i call the function with "0.5" the transparent areas will be white.
What can i do to change the opacity of the image and keep the transparent areas transparent?
Thank you in advance.
i have a .gif (not animated) image with transparent background and i want to change the opacity of the image. but when i use the setImageOpacity function, the opacity of transparent areas change too. for example if i call the function with "0.5" the transparent areas will be white.
What can i do to change the opacity of the image and keep the transparent areas transparent?
Thank you in advance.