Skip to content

ImageFrames

Narta Xaymar Dirks edited this page Oct 28, 2026 · 2 revisions

ImageFrames

ImageFrames:Int32 image:Int32
Parameter Mode Type Default Description
image In Int32 required The image to ask about.

Returns: The number of frames, at least 1.

Description

Says how many frames an image has: more than one for an image from CreateImage with frames, from LoadAnimImage, or from an animated picture file. Any other image has 1. Choose the frame to draw with the frame argument of DrawImage.

This is a BlitzLLVM extension: the originals cannot ask this.

Related Commands

ImageBuffer, ImageFrameDelay, ImageHeight, ImageReady 〔BlitzLLVM〕, ImageRectCollide, ImageRectOverlap, ImageWidth, ImageXHandle

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally