PeachDrawing.Core
PeachDrawing.Core.Image
Image.FrameCount Property
How many frames the image has: 1 for a still image, more for an animated one (an animated GIF, WebP or PNG). A canvas that shows animation draws CurrentFrame; one that does not draws the first frame.
public virtual int FrameCount { get; }