Users Pricing

forum

Home Forums Saving Image files in server after response – MindStick

Saving Image files in server after response

Anonymous User 2824 18 Dec 2014

My asp.net application saving a long list of image files and then have to view one of them. The client can browse the images, But its take a long time. I have a dictionary with key - file path and value -Image: 

Dictionary<string, System.Drawing.Image> imageList = new Dictionary<string,System.Drawing.Image>(); 
//filling imageList
foreach (KeyValuePair<imagePath, System.Drawing.Image> item in imageList)
{
    item.Value.Save(item.Key, System.Drawing.Imaging.ImageFormat.Jpeg);
}

I am looking for some way to save just one image file, make response, and continue saving the other image files, there is any way to do it? maybe with Thread? Thanks!

2 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md