Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

extract embedded images to a file

Status
Not open for further replies.

davikokar

Technical User
May 13, 2004
523
0
0
IT
hallo,

How do I extract an embedded resource (gif image) to a file?

thanks
 
from within an app? Or extracting from an app you dont have source to?

a few lines of code (Bitmap.Save()) will do the first, and there are some free tools online (some made specifically for .Net assemblies) that will do it for you.

 
from within my app.

I have tried some ways but they don't work. What I have as a starting point is a stream containing the image:

Code:
System.IO.Stream stream = _thisExe.GetManifestResourceStream(img);

How do I proceed from there?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top