ApngEncoder
Ecng.Drawing
APNG writer using changed RGBA8 rectangles (blend SOURCE, disposal NONE), preserving every frame and its delay.
方法
Encode
public static byte[] Encode(Animation source, byte[] colorChunks)
result = ApngEncoder.Encode(source, colorChunks)
- source
- The animation.
- colorChunks
- The chunks that say what colors the samples are, as Byte[]) takes them.