klyn.gui.images.BitmapImage.frameCount
method
public static frameCount(file as String) as Int
Description

Reads GIF frame count / TIFF page count, 1 for other image families. This does not imply that this API decodes frames beyond the first one. Throws IOException for unreadable/malformed containers. Example: if BitmapImage.frameCount("animation.gif") > 1: print("Animated").