M
Mike P
I am trying to generate an image on my login screen that the user must
enter the characters of in order to login successfully. I have managed
to find a method that returns a bitmap, but I am not sure how to render
it to the page alongside the rest of the login page.
Bitmap bmp = iv.generateImage(sTxt);
Response.ContentType = "image/gif";
bmp.Save(Response.OutputStream, ImageFormat.Gif);
bmp.Dispose();
I guess I will need to switch Response.ContentType to also show the rest
of the page. What do I need to do to show both my image and the rest of
the page on screen?
enter the characters of in order to login successfully. I have managed
to find a method that returns a bitmap, but I am not sure how to render
it to the page alongside the rest of the login page.
Bitmap bmp = iv.generateImage(sTxt);
Response.ContentType = "image/gif";
bmp.Save(Response.OutputStream, ImageFormat.Gif);
bmp.Dispose();
I guess I will need to switch Response.ContentType to also show the rest
of the page. What do I need to do to show both my image and the rest of
the page on screen?