Skip to content

FreeImage

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

Blitz3DBlitzPlusBlitzBasic

FreeImage

FreeImage:Void image:Int32
Parameter Mode Type Default Description
image In Int32 required The image to free.

Description

Releases an image and its video memory. The handle must not be used afterwards.

Differences

  • Freeing a handle that is 0 or was already freed does nothing, while other commands stop with an error when they get such a handle.
  • A debug build (-d) stops the program when the image is freed already, see Debug handle checks. The 0 of an image that failed to load is an error too.

Related Commands

CopyImage, CreateImage, DrawImage, GrabImage, HandleImage, LoadAnimImage, LoadImage, MaskImage

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally