how to render a memory image?

Discussion in 'ASP .Net Web Controls' started by thxBruin, Sep 12, 2003.

  1. thxBruin

    thxBruin Guest

    I have a web control which include a memory image and i want to render this
    image to client. In fact, i can save it to disk and then render it like:
    Writer.Write("<img SRC=" + DiskImagePath + ">")
    But i dislike this method, as you know, in activex control, we can send the
    variant stream to client browser. So the question is how to render a memory
    image not a disk image file in ASP.net component?
     
    thxBruin, Sep 12, 2003
    #1
    1. Advertising

  2. make the <img SRC= point to another aspx page. Generate
    the image in that 2nd aspx page and stream it into the
    original page. this is the only way I know of that works
    as advertised...

    >-----Original Message-----
    >I have a web control which include a memory image and i

    want to render this
    >image to client. In fact, i can save it to disk and then

    render it like:
    >Writer.Write("<img SRC=" + DiskImagePath + ">")
    >But i dislike this method, as you know, in activex

    control, we can send the
    >variant stream to client browser. So the question is how

    to render a memory
    >image not a disk image file in ASP.net component?
    >
    >
    >.
    >
     
    Allan Doensen, Sep 13, 2003
    #2
    1. Advertising

  3. thxBruin

    vMike Guest

    Look into yourimage.Save(Response.OutputStream, ImageFormat.Jpeg)

    "thxBruin" <> wrote in message
    news:...
    > I have a web control which include a memory image and i want to render

    this
    > image to client. In fact, i can save it to disk and then render it like:
    > Writer.Write("<img SRC=" + DiskImagePath + ">")
    > But i dislike this method, as you know, in activex control, we can send

    the
    > variant stream to client browser. So the question is how to render a

    memory
    > image not a disk image file in ASP.net component?
    >
    >
     
    vMike, Sep 14, 2003
    #3
    1. Advertising

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. Lau Lei Cheong

    Page.Render do not render complete page

    Lau Lei Cheong, May 15, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,121
    Lau Lei Cheong
    May 15, 2004
  2. Ken Varn
    Replies:
    2
    Views:
    335
    Ken Varn
    May 28, 2004
  3. Piotr Strycharz

    Is this possible to render page in memory?

    Piotr Strycharz, Mar 21, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    624
    Piotr Strycharz
    Mar 22, 2006
  4. Support
    Replies:
    1
    Views:
    489
    Steve C. Orr [MVP, MCSD]
    Jun 3, 2005
  5. Glenn Gillen
    Replies:
    0
    Views:
    323
    Glenn Gillen
    Nov 17, 2006
Loading...

Share This Page