how i can cast the http handler response to image.
I have created a handler which gives as follow which does some manipulation in the image
var absolutePath = context.Server.MapPath(imagePath); var originalImage = Image.FromFile(absolutePath); originalImage = new ImageMethods().AddWatermarkText(originalImage, "One Click"); context.Response.ContentType = "image/jpeg"; originalImage.Save(context.Response.OutputStream, ImageFormat.Jpeg);