ARTICLE

Image Resizing and FTP

Posted by wdenton Articles | GDI+ & Graphics December 24, 2003
I wanted a program to resize image and just FTP them to my site. After talking with friends, I realized they also had the same problems. So I built this simple .Net application.
Reader Level:
Download Files:
 

Most of us have gone through the pains of uploading pictures from a digital camera to our web site. There are many commercial software products that will resize, generate HTML, and FTP your pictures to a web site. Since I have incorporated my own gallery generator in ASP.NET I wanted a program to resize image and just FTP them to my site. After talking with friends, I realized they also had the same problems. So I built this simple .Net application.

My friends and I have used this application numerous times. To view an example of the online gallery go to http://www.the-dentons.com/PicDirectory.aspx . If you would like the asp.net source code just email me.

Requirements

1) Allow for just Image resizing so that my friends could use the application in tandem with other software programs.

2) Resize Images to a constrained width (default to 400)

3) Since most cameras are 5-2 mega pixels, constrain the quality to web friendly file sizes. Thus preserving precious disk space and download time.

4) FTP to a base picture directory in a new sub folder.

5) Allow for image filename prefixing. My camera recycles the filename often creating an overwrite problem.

Solution

I decided to not reinvent the wheel and borrowed the components and code from the following articles

Image Resizing:

http://www.eggheadcafe.com/articles/20030515.asp

FTP:

Written by Jaimon Mathew (jaimonmathew@rediffmail.com)

Directory Selection

Not sure.

Screen Shot

Login to add your contents and source code to this article
post comment
     

i am developing a small project in image image processing could you give me the source code for this image resize... it is really good ....i am using c# 2005

Posted by naveen s Jan 29, 2011

Hi, Neat work! I'm quite surprised that this utility is still pretty much the only one out there that does this without overcomplicating everything with extra facilities. Would you consider releasing the source? I ask because I'd like to modify it slightly for my own needs, not because there's anything wrong with it!

Posted by Martin Whitaker Mar 01, 2009
COMMENT USING
PREMIUM SPONSORS
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.