Last post Dec 09, 2013 02:51 AM by dotne8dev
Dec 04, 2013 02:32 AM|dotne8dev|LINK
I would like to dynamically create a image and store in the disk.
Planning to do using handlers , is that right approach?
public partial class _Default : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
// Bitmap object
Bitmap bmp = new Bitmap(100, 200); // This is just a black rectangle
// Save to disk
string fileName = "C:\\image.jpg";
bmp.Dispose(); // Always make sure the image object is being disposed.
Dec 08, 2013 10:41 PM|Happy Chen - MSFT|LINK
hi dotne8dev ,
i check out your code ,and you need to save it on the server not on the web
If you want to store it to local disk, the answer is "No".
it is not going save in user hard drive, it gets saved on server hard drive. Then u need to give that link to user to download that image.
Hope it helps you.
Dec 09, 2013 02:51 AM|dotne8dev|LINK