Skip to content

Image over image in asp.net

kavita

Asked Sep 7, 2007, 3:56 AM EDT4 answers
Share
LinkedInX
hi this is kavita

can any one tell me how to put a image over image in asp.net..actually I have one image that is in tag .Iwant to put another image. is there any way to find first image X and Y co=ordinate.

please help me.
thanks

4 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0

    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,

    0
  • 0
    thanks mike

    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?
    0
  • Mahesh Chand
    0

    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.

    0
  • 0
    thanks a lot BUT I am using web application that code  work in window. and it give error.their

    thanks for reply
    0