Last post Dec 19, 2007 01:07 PM by jpmattis
Dec 18, 2007 05:48 PM|jpmattis|LINK
I was planning on using the System.Drawing methods found in this forum to make my thumbnails for my site, however when I pulled the image's URL from the database and plugged that into an asp:image tag that had a set width (the width I want all the thumbs
to be), the images were automatically scaled and for the most part looked to keep their aspect ratio/quality.
I see a lot of effort being put into using the System.Drawing method to achieve similar results, and that has me wondering the following:
Why shouldn't I have my images resized in the above mentioned manner? What are its drawbacks and why should I go thru the effort of using System.Drawing? Am I missing something here???
Dec 18, 2007 10:17 PM|SGWellens|LINK
The whole image is sent to the client and then resized. If it's a big image, it's a big deal.
Here's a link that discusses the pros and cons:
Dec 19, 2007 05:11 AM|CurtWRC|LINK
Also if you are using the <asp:image> control to resize your images, then the images are going to become distorted and pixelated if they are resized from a very large image. Whereas you can improve the quality of the images by using System.Drawing.
Dec 19, 2007 01:07 PM|jpmattis|LINK
Great. thanks guys!