Re: Read images in binary format and save

Discussion in 'ASP .Net' started by Reddy, Aug 28, 2003.

  1. Reddy

    Reddy Guest

    Is it possible to know what format of image is stream of?

    Thanks,

    Reddy


    "Sherif ElMetainy" <> wrote in message
    news:%...
    > Hello
    > here is how it is done
    >
    >
    > System.Net.WebClient webClient = new System.Net.WebClient();
    > System.Drawing.Image img =
    > System.Drawing.Image.FromStream(webClient.OpenRead(url));
    > img.Save(path);
    >
    > Best Regards
    >
    > Sherif
    >
    > "Reddy" <> wrote in message
    > news:e2Rd$...
    > > Hi,
    > >
    > > Given a URL which returns back the image in binary format how to read it

    > and
    > > save it as gif or jpg using c#.
    > > Can anybody pl. give me some guidance regarding this. Any code would be
    > > excellent.
    > >
    > > Reddy
    > >
    > >

    >
    >
    Reddy, Aug 28, 2003
    #1
    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. Reddy
    Replies:
    0
    Views:
    396
    Reddy
    Aug 28, 2003
  2. Doug
    Replies:
    3
    Views:
    4,354
    Bruce Barker
    Nov 4, 2005
  3. Ken Starks
    Replies:
    4
    Views:
    334
    Ken Starks
    Jun 23, 2008
Loading...

Share This Page