i will look over that link shortly - thank you for the reply
what im am trying to do is build a "are you human" verification image
but i wish to build it in the following way - i want to grab one existing image from the server, and display it as a different file name on the page (so bots cant check the file name) and display the image along with a drop down box.
does that make sense? note though, that i do not wish to generate letters or numbers, but i wish to display an image of an animal from my list of images that is randomly choosen.
You could create an aspx file that opens the file from the server and streams it back to the browser using response.binarywrite, then reference that aspx file in your img tag.
Member
50 Points
493 Posts
where to start? create an image on the fly from other images
Oct 12, 2010 09:31 PM|WPHC|LINK
Hi all
I hope this is in the right forum thread...
How do I create (or layer) a new image from 2 existing images with ASP.net on the fly?
Does anyone have any examples or links to websites?
or has anyone done this personally? any hints and tips?
also can i put this code (to create it) in a user control? instead of an external page?
Thanks
All-Star
37505 Points
8109 Posts
Re: where to start? create an image on the fly from other images
Oct 12, 2010 10:30 PM|sansan|LINK
Do you mean merging images? If so, please check this code
http://www.switchonthecode.com/tutorials/combining-images-with-csharp
Member
50 Points
493 Posts
Re: where to start? create an image on the fly from other images
Oct 12, 2010 10:41 PM|WPHC|LINK
i will look over that link shortly - thank you for the reply
what im am trying to do is build a "are you human" verification image
but i wish to build it in the following way - i want to grab one existing image from the server, and display it as a different file name on the page (so bots cant check the file name) and display the image along with a drop down box.
does that make sense? note though, that i do not wish to generate letters or numbers, but i wish to display an image of an animal from my list of images that is randomly choosen.
Member
50 Points
493 Posts
Re: where to start? create an image on the fly from other images
Oct 13, 2010 01:03 AM|WPHC|LINK
thanks for that link - its partially what I needed
Member
50 Points
493 Posts
Re: where to start? create an image on the fly from other images
Oct 14, 2010 07:06 PM|WPHC|LINK
does anyone else have any ideas about this? (bump to top post)
Member
300 Points
143 Posts
Re: where to start? create an image on the fly from other images
Oct 19, 2010 08:27 AM|rareddy|LINK
You could create an aspx file that opens the file from the server and streams it back to the browser using response.binarywrite, then reference that aspx file in your img tag.
Member
50 Points
493 Posts
Re: where to start? create an image on the fly from other images
Oct 19, 2010 11:36 PM|WPHC|LINK
thanks for the reply - the link above provided the best answer :D
thanks heaps