bo10296
private void GetFrames(string pPath,  string pSavedPath)
     {
         DrawImage.Image gif = DrawImage.Image.FromFile(pPath);
         Imaging.FrameDimension fd = new Imaging.FrameDimension(gif.FrameDimensionsList[0]);
         int count = gif.GetFrameCount(fd);
         for (int i = 0; i < count; i++)
         {
             gif.SelectActiveFrame(fd, i);
             gif.Save(pSavedPath + "\\frame_" + i + ".jpg", ImageFormat.Jpeg);
         }
     }

 

分类:

技术点:

相关文章:

  • 2022-02-17
  • 2022-12-23
  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-02
  • 2021-12-27
  • 2022-12-23
  • 2021-09-13
  • 2021-05-30
相关资源
相似解决方案