Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to create a copy of image and save it in another location. Is there a way to do that?
Posted
Comments
Sergey Alexandrovich Kryukov 14-Aug-11 2:35am    
Please do not re-post!
--SA

Do you mean copy a file? If so, see http://msdn.microsoft.com/en-us/library/c6cfw35a.aspx[^]
 
Share this answer
 
I assume you mean either to copy an image on disk to another location, or to save an image in memory to another location?
Either is easy:
File.Copy(sourcePath, destinationPath);


myImage.Save(destinationPath, ImageFormat.Jpeg);
 
Share this answer
 
Comments
Jeremy Shin Woo 14-Aug-11 22:55pm    
thanks a lot

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