locked
Convert TIF from web service to PDF and display RRS feed

  • Question

  • User1289886430 posted
    protected void Page_Load(object sender, EventArgs e)
        {
            GetImage("http://www.speedy.ca/dispPOD.asp?k27J4eb8=6030187854");
        }
    
        private static void GetImage(string url)
        {
            HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
            request.Method = "GET";
            request.Accept ="image/gif";
            HttpWebResponse response = (HttpWebResponse)request.GetResponse();
            Stream s = response.GetResponseStream();
            Bitmap bmp = new Bitmap(s);
        }
    Tuesday, December 13, 2011 11:26 AM

All replies

  • User-1831219222 posted

    view this link:

    http://forums.asp.net/t/1348035.aspx/1/10

    Thursday, December 15, 2011 11:51 AM
  • User1289886430 posted

    The problem is that I can't actually access the TIF programmitcally from the url.  If I could, I would still potentially have an issue with the solution you linked to because the TIF served to me could be a mutli-page TIF and I presume I would lose any page other than 1 when converting to jpg before creating a PDF.

    Saturday, December 17, 2011 5:22 PM