How to split an animated gif in .net?

后端 未结 4 1449
眼角桃花
眼角桃花 2020-12-06 14:09

How do you split an animated gif into its component parts in .net?

Specifically I want to load them into Image(s) (System.Drawing.Image) in memory.

=========

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-06 14:34

    Semi-related, in WPF you have the BitmapDecoders which will provide you with all the frames of an image.

    See BitmapDecoder.Create and BitmapDecoder.Frames.

提交回复
热议问题