can any one tell me how to put a image over image in asp.net..actually I have one image that is in
please help me.
thanks
4 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
kavitaPosted Sep 13, 2007, 6:09 AM
thanks for reply
Mahesh ChandPosted Sep 11, 2007, 8:18 AM
You can use this approach to generate transparent images on top of an image.
Click here to see the article.
As Mike suggested, you can create a Bitmap and add your images to it.
kavitaPosted Sep 11, 2007, 5:46 AM
actually i have one image that is in gif and i show it simly it not drawing image i simply want a transparent image over it so that no body can see first image path or download it?
Mike GoldPosted Sep 11, 2007, 1:26 AM
not sure what you are asking. Are you saying you want to overlay one image on top of another in a web browser? To do this, you'll need to do some image processing up front on both images and then stream the resulting image to the web.
You could also do something as simple as drawing one image to a bitmap and then the other. If the second is smaller than the first, it will overlay it. Then stream the resulting bitmap to the response outputstream.
Best,