ImageOutput()

Syntax

OutputID = ImageOutput(#Image)
Description
Returns the OutputID of the #Image to perform 2D rendering operation on it. It will use the PureBasic 2DDrawing library (see StartDrawing()). This function can't be used if the image is an icon.

An image must have been loaded (with LoadImage() or CatchImage()) or newly created (with CreateImage()) before.

Note: the returned 'OutputID' can't be reused. Every StartDrawing()) will need its own call to ImageOutput().

Supported OS

All

<- ImageID() - Image Index - ImageWidth() ->