static private GetExt ( |
||
format | ||
리턴 | string |
static string GetExt(ImageFormat format)
{
if (format == ImageFormat.Png)
return ".png";
else if (format == ImageFormat.Gif)
return ".gif";
else if (format == ImageFormat.Tiff)
return ".tif";
else
return ".bmp";
}