Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a content of the jpg file in the memory file. Can any one tell me how to writ e that a folder as a jpeg file.
Posted

To save files you should use some StreamWriter class.
 
Share this answer
 
Comments
Lima3 14-Nov-13 13:09pm    
Can you give the sample code..
Image resized = ResizeImageForFull(original, new Size(768, 1024));

//save the image to memory stream
MemoryStream memStream = new MemoryStream();
resized.Save(memStream, System.Drawing.Imaging.ImageFormat.Jpeg);
I have the code like this.
 
Share this answer
 

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