stream resource bitmap to aspx image

Discussion in 'ASP .Net Web Controls' started by Sarmad Aljazrawi, Feb 14, 2004.

  1. Hi,

    is there a way to stream/show a bitmap loaded from a resource file to an
    image control (html or asp) in an aspx file?

    regards
    Sarmad Aljazrawi
    B.Sc. Computer Science, MSDBA, MCP
    www.aljazrawi.net
     
    Sarmad Aljazrawi, Feb 14, 2004
    #1
    1. Advertisements

  2. Sarmad Aljazrawi

    Teemu Keiski Guest

    Hi,

    it would need separate HTTP handler (or page) to server the image from
    resource file and this handler is then assigned to the src/ImageUrl of the
    Image. Images are separate binary resource from HTML so they need to be
    requested separately. Remember that image, <img> tag is like <img
    src="image.gif"> which does actually separate request to fetch the image.

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist


    "Sarmad Aljazrawi" <anonymous[shylme]@discussions.microsoft.com> wrote in
    message news:...
    Hi,

    is there a way to stream/show a bitmap loaded from a resource file to an
    image control (html or asp) in an aspx file?

    regards
    Sarmad Aljazrawi
    B.Sc. Computer Science, MSDBA, MCP
    www.aljazrawi.net
     
    Teemu Keiski, Feb 15, 2004
    #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. Guest
    Replies:
    2
    Views:
    6,986
    Joerg Jooss
    Aug 19, 2004
  2. from bitmap to stream?

    , Apr 15, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    16,066
    Bennie Thorvaldsen
    Apr 16, 2005
  3. John M
    Replies:
    1
    Views:
    1,635
    Kumar Reddi
    May 29, 2005
  4. Dirc Khan-Evans
    Replies:
    1
    Views:
    1,083
    Karl Seguin
    Oct 17, 2005
  5. Gandalf

    Masked bitmap from bitmap

    Gandalf, Jan 29, 2004, in forum: Python
    Replies:
    0
    Views:
    789
    Gandalf
    Jan 29, 2004
  6. xqggz
    Replies:
    1
    Views:
    569
    Victor Bazarov
    Jun 19, 2007
  7. coconet

    Show Inline BitMap in ASPX Page?

    coconet, Feb 4, 2008, in forum: ASP .Net
    Replies:
    4
    Views:
    954
    Walter Wang [MSFT]
    Feb 6, 2008
  8. Leo

    Stream an image into an image control

    Leo, Feb 23, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    1,503
    Ken Cox [Microsoft MVP]
    Feb 23, 2005
Loading...