I have an .aspx file that outputs an image using the following methods:
Server.MapPath("somefile.png")
Response.ContentType = "image/png";
Response.WriteFile(fileURI);
I have a function that rotates the image by 0-360 degrees and returns it as a bitmap.
How can I take this in-memory bitmap and then write it out to the client as a PNG?