Blog Stats
  • Posts - 94
  • Articles - 0
  • Comments - 43
  • Trackbacks - 2

 

Wednesday, May 20, 2009

Resize and Save Images with .NET

In this post I will present a service class for resizing and saving an image. The service has one public method, ResizeAndSave() which accepts a stream, a filename and a directory to save the file to. It uses a simple algorithm to rescale the image to fit into a maximum rectangle and then performs the actual resize using System.Drawing, and returns the dimensions of the resized image....

Read the full article

 

 

 

Copyright © Liam McLennan