IImageResizer - Resize Method

Oct 11, 2012 at 12:12 AM
Edited Oct 11, 2012 at 2:48 AM


I'm having a little trouble understanding how to use the resize method in my code.

Does anyone have an example (code snippet) they could share?

What I'm trying to do is create a thumbnail version of a file being uploaded. The thumbnail will get inserted into a db so I'd like it to be nice and small.

The original file will get uploaded to the server but for now I'll leave that alone.

Many thanks in advance!

~ Dave

Dec 23, 2013 at 2:07 AM
Here is the image resizing method and sample codedeveloped within VB.NET program, directly call the API and demo code within your proejct, or write your own defined image reszing application with the method.