|
-
Jun 28th, 2007, 07:45 PM
#1
Thread Starter
Fanatic Member
[2005] Copy Icon From PicBx to ClipBoard (Alpha Blending)
I have made a picture viewer that can view alpha blended *.ICO files.
- I open the ICO file and find the 32bpp icon that is the largest icon.
- if there is no 32bpp (WinXP) style icon, it gets the 8 or 4bpp.
- I send it to the PictureBox, which has a white background.
- I click a copy button...
Clipboard.SetDataObject(picBox.Image)
When I paste it into say Windows Paint, it paints the background of the image blue. I want to maintain the white background.
How can I copy the image with the white background?
Or How can I take a snapshot of the Picture box and create a BMP image before copying?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|