public static string GetResizedImage(string imageFile, ImageSize imageSize)
 {
     return(GetResizedImage(imageFile, imageSize.Width, imageSize.Height, imageSize.Stretch, imageSize.ImageType, imageSize.FillArea, imageSize.HAlignment, imageSize.VAlignment, imageSize.JpegQuality));
 }
 public static object WebPathAndNameCached(FileInfo BaseFile, ImageSize imageSize)
 {
     return(WebPathAndNameCached(BaseFile, imageSize.Width, imageSize.Height, imageSize.Stretch, imageSize.ImageType, imageSize.FillArea, imageSize.HAlignment, imageSize.VAlignment));
 }
 public static void SaveResizedImage(System.IO.FileInfo FromFile, System.IO.FileInfo ToFile, ImageSize imageSize)
 {
     SaveResizedImage(FromFile, ToFile, imageSize.Width, imageSize.Height, imageSize.Stretch, imageSize.FillArea, imageSize.HAlignment, imageSize.VAlignment, imageSize.JpegQuality);
 }