Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi anybody have a idea how to create a drawing in vb picturebox?
The images must save as png and background must be transparent.

Kind regards
H
Posted

1 solution

Typically this is done using the Bitmap.MakeTransparent method.

Example here: http://msdn.microsoft.com/en-us/library/8517ckds.aspx[^]

[Update]
-------------

Relevant thread on S.O.:

http://stackoverflow.com/questions/388677/can-you-make-an-alpha-transparent-png-with-c[^]
 
Share this answer
 
v2
Comments
Sandeep Mewara 26-Jan-11 10:41am    
Comment from OP:
still not transparent, should it not be something like 32bit png?
Nish Nishant 26-Jan-11 10:48am    
To OP: show your code that's not working.
Sergey Alexandrovich Kryukov 26-Jan-11 11:04am    
My 5. Transparency is often misunderstood. I'm afraid more discussion will follow this question.
--SA
Nish Nishant 26-Jan-11 11:07am    
Thanks. And yeah, based on the OP's response it doesn't seem as if he's got it right yet.
heinrich4J 27-Jan-11 9:05am    
nope, have not come right yet..!
Do any of you know where i can buy vb code (software code)? cant keep struggling with this.
I need a solution very soon....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900