Geeks With Blogs
Liam McLennan
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


Posted on Wednesday, May 20, 2009 7:33 PM | Back to top

Copyright © Liam McLennan | Powered by: