Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,I'm trying to split a Alpha-PNG with two bitmaps(.bmp).

 

One is non-transparent bitmap(24Bit) and another is mask(8 Bit).

 

How to make it happend in C# or VB.net?

Posted

I have an idea below:

 

for (int Xcount = 0; Xcount < Bit.Width; Xcount++)
           {
               for (int Ycount = 0; Ycount < Bit.Height; Ycount++)
               {
                   
                    //Do same decide

                   
               }
           }

 

 

But I don't know how to deal with translucence part.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...