How? Open image, add text, then "stream" into <img src="...">?

Discussion in 'ASP .Net' started by Michael Stock, Dec 3, 2003.

  1. Hi all,
    hopefully someone can tell me how to do this for a web
    server in C#:

    We have images in a folder you can't access over the net.
    So everytime we need to display an image from this folder,
    we need to us the following syntax:

    <img src="viewImage.aspx?imageID=/secretImages/image.jpg"
    border="0">

    we DON'T need:
    - extract image location from QueryString etc.


    We NEED the (nearly complete) code for the following
    things:
    a) open an image
    b) add copyright text to the image
    c) "stream" this image to the browser so the code above
    can be done.

    Even more cool it would be if you could tell me:
    - how to add a half transparent graphic instead of plain
    text?


    Thank you
    Michael
     
    Michael Stock, Dec 3, 2003
    #1
    1. Advertisements

  2. Michael Stock

    Joe Gass Guest

    This should help on the watermarking

    http://www.codeproject.com/csharp/watermark.asp?target=watermark

    "Michael Stock" <> wrote in message
    news:033b01c3b989$94f6b480$...
    > Hi all,
    > hopefully someone can tell me how to do this for a web
    > server in C#:
    >
    > We have images in a folder you can't access over the net.
    > So everytime we need to display an image from this folder,
    > we need to us the following syntax:
    >
    > <img src="viewImage.aspx?imageID=/secretImages/image.jpg"
    > border="0">
    >
    > we DON'T need:
    > - extract image location from QueryString etc.
    >
    >
    > We NEED the (nearly complete) code for the following
    > things:
    > a) open an image
    > b) add copyright text to the image
    > c) "stream" this image to the browser so the code above
    > can be done.
    >
    > Even more cool it would be if you could tell me:
    > - how to add a half transparent graphic instead of plain
    > text?
    >
    >
    > Thank you
    > Michael
     
    Joe Gass, Dec 3, 2003
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve Richter

    <txt src= ...> equivalent of <img src= ...>

    Steve Richter, Feb 8, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    2,660
    Laurent Bugnion
    Feb 9, 2006
  2. Greg Johnson
    Replies:
    4
    Views:
    3,361
  3. Replies:
    1
    Views:
    1,857
    Alex Hunsley
    Mar 23, 2007
  4. pheadxdll
    Replies:
    16
    Views:
    5,868
    Neredbojias
    Jun 6, 2007
  5. jsguru72
    Replies:
    0
    Views:
    7,443
    jsguru72
    Feb 21, 2009
  6. Leo

    Stream an image into an image control

    Leo, Feb 23, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    1,502
    Ken Cox [Microsoft MVP]
    Feb 23, 2005
  7. Replies:
    0
    Views:
    579
  8. Todd
    Replies:
    0
    Views:
    194
Loading...