예제 #1
0
파일: Utils.cs 프로젝트: Hamsand/Swf2XNA
 public static Vex.Size GetJpgSize(string path)
 {
     Bitmap bmp = new Bitmap(path, false);
     Vex.Size sz = new DDW.Vex.Size(bmp.Width, bmp.Height);
     bmp.Dispose();
     return sz;
 }
예제 #2
0
        public static Vex.Size GetJpgSize(string path)
        {
            Bitmap bmp = new Bitmap(path, false);

            Vex.Size sz = new DDW.Vex.Size(bmp.Width, bmp.Height);
            bmp.Dispose();
            return(sz);
        }