Exemple #1
0
        private gifAnalisys LoadGif(string path)
        {
            gifAnalisys gifObj = new gifAnalisys(path);

            //Image img = gifObj.GetCurrentFrameImage(1);
            //img.Save(@"F:\MyProject\GifControl\GifControl\output\1.png", ImageFormat.Png);
            return(gifObj);
        }
Exemple #2
0
        private void 打开ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog ofd = new OpenFileDialog();

            if (ofd.ShowDialog() == DialogResult.OK)
            {
                string strPath = ofd.FileName;
                gifObj = LoadGif(strPath);
                ShowImage(0);
            }
        }
Exemple #3
0
 private void LoadTest()
 {
     gifObj = LoadGif(@"F:\MyProject\GifControl\GifControl\gif\star.gif");
     ShowImage(0);
 }