<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1030558" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1030558</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/net-image-resize#comment-1178591</link>
    <description> &lt;p&gt;One proublem though... When I use the Bitmap and Image class the picture quality goes down the tube. I think ill byte stream the large images and use the image class for the tNails&lt;/p&gt;
 </description>
     <pubDate>Tue, 06 Sep 2005 01:39:08 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1178591 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/net-image-resize#comment-1178551</link>
    <description> &lt;p&gt;Good job.&lt;/p&gt;
 </description>
     <pubDate>Mon, 05 Sep 2005 22:00:05 +0000</pubDate>
 <dc:creator>SearchBliss</dc:creator>
 <guid isPermaLink="false">comment 1178551 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/net-image-resize#comment-1178112</link>
    <description> &lt;p&gt;I think I need to post less... I figured it out. I went with the queary string option. Then deleted the old &quot;byte stream&quot; stuff. Now I I just opended the origional file, made a thumb nail them saved to output stream. Sounds simple right?&lt;/p&gt;
 </description>
     <pubDate>Sat, 03 Sep 2005 05:30:06 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1178112 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/net-image-resize#comment-1178109</link>
    <description> &lt;p&gt;SearchBliss you have probably done this more than I have...&lt;/p&gt;
&lt;p&gt;Here is what I got set up so far. I just need advice on how to finish it. I upload images for my blog to my server then they are stored in a offline folder. To recall a image I set the image tag with a src like this &lt;code&gt;&amp;lt;img src=&amp;quot;image.aspx?num=4&amp;quot;&amp;gt;&lt;/code&gt;&#039;&lt;br /&gt;
With a code like this for the image &lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;switch(Itype){&lt;br /&gt;case &amp;quot;jpg&amp;quot;:&lt;br /&gt;Response.ContentType = &amp;quot;image/JPEG&amp;quot;;&lt;br /&gt;break;&lt;br /&gt;case &amp;quot;gif&amp;quot;:&lt;br /&gt;Response.ContentType = &amp;quot;image/GIF&amp;quot;;&lt;br /&gt;break;&lt;br /&gt;default :&lt;br /&gt;Response.Write(&amp;quot;Unknown Type&amp;quot;);&lt;br /&gt;Response.End();&lt;br /&gt;break;}&lt;br /&gt;&lt;br /&gt;string Filename = logFunk.systemPath + &amp;quot;img\\dump\\&amp;quot; + focusNum + &amp;quot;.&amp;quot; + Itype;&lt;br /&gt;&lt;br /&gt;FileStream MyFileStream = new FileStream(Filename, FileMode.Open);&lt;br /&gt;long FileSize = MyFileStream.Length;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;byte[] Buffer = new byte[(int)FileSize];&lt;br /&gt;MyFileStream.Read(Buffer, 0, (int)FileSize);&lt;br /&gt;MyFileStream.Close();&lt;br /&gt;&lt;br /&gt;Response.BinaryWrite(Buffer);&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
So now I want to create a thumb nail of the image. I figure just add to the querystring and have it just display a smaller image. Example.... &lt;code&gt;&amp;lt;img src=&amp;quot;image.aspx?num=4&amp;amp;Tnail=true&amp;quot;&amp;gt;&lt;/code&gt;&#039;&lt;br /&gt;
The only problem is I have no idea how to do that....&lt;br /&gt;
Or the second option... open image.aspx as a image in the display page then modify it so its a Thumbnail, the only problem is I don’t want to save it on a web folder. And I don’t want a bunch of temp files filling my hosting space.&lt;/p&gt;
 </description>
     <pubDate>Sat, 03 Sep 2005 02:56:43 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1178109 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/net-image-resize#comment-1178104</link>
    <description> &lt;p&gt;thank you.&lt;br /&gt;
Its in System.Drawing.Image&lt;br /&gt;
I was looking in System.IO earlier&lt;/p&gt;
 </description>
     <pubDate>Sat, 03 Sep 2005 02:30:44 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1178104 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/net-image-resize#comment-1178093</link>
    <description> &lt;p&gt;The image class in ASP.NET has the GetThumbnailImage() Method for resizing images. Search the web for more info.&lt;/p&gt;
 </description>
     <pubDate>Fri, 02 Sep 2005 21:27:43 +0000</pubDate>
 <dc:creator>SearchBliss</dc:creator>
 <guid isPermaLink="false">comment 1178093 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
