Archive for July 30th, 2009

.NET Image Scaling in CSharp

94Tr One feature of .NET that I use regularly is image scaling.  I typically use this on web sites that need image upload capabilities.  I assume the user is going to send me an image that is significantly bigger than what I could use and then scale it down before storing it.

I also use this feature so that I only have to store one image.  If I need it at a different size, I can scale it prior to sending it down to the browser.  In this case, I implement .NET page caching so that I don’t have to run the scaling code every time the image is requested.

Image scaling really isn’t that hard.  Here’s how it’s done.

Read the rest of this entry »

Other Related Items:

Handy Gourmet 2 Tier Microwave SteamerHandy Gourmet 2 Tier Microwave SteamerSteaming your favorite foods in minutes has never been easier. Just pour water into the bottom of this 2-tier microwave steamer, add 1 or 2 food items... Read More >
Deer Hunter Extended SeasonOfficial Add On - More Bucks, New Locations, and A New Weapon - These all new levels require registered version of Deer Hunter
DotNetNuke Sponsor

 

Most Valuable Blogger
Sponsor