• Advertisement
Sign in to follow this  

[RESOLVED] Image Question

This topic is 4523 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is it possibly to display an image with transparency %. For example, an image with 50% transparency, you would be able to see what it behind the image as well as the image on top, 100% and you could not see the image at all and 0% you could not se behind the image? I am pretty sure it is called transparency, but it might have another term. On google all I get is transparent gif's and blending a certain color type thing. If there is a way could someone point me in the right direction to figure it out? Thanks a bunch.

Share this post


Link to post
Share on other sites
Advertisement
Yes, it's possible. Usually it's called alpha values for the level of transparency/opaqueness. What API or library are you using for your graphics?

Share this post


Link to post
Share on other sites
To be honest I am not sure. I am just using the BITMAP type to open an image and bitblt it to the screen as of now. That is probably GDI but I have no idea.

Share this post


Link to post
Share on other sites
If you're using GDI, then try looking up the AlphaBlend() function.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement