Quote:
public void resizeImage(string FolderPath, string FileName)
Change to
public void resizeImage(string FolderPath, string FileName, out int maxwidth, out int maxheight, out long filesize)
and then call it this way:
int maxwidth;
int maxheight;
long filesize;
resizeImage(strFolderPath, strFileName, out maxwidth, out maxheight, out filesize);