Table of Contents

ugBASIC User Manual

GET BITMAP

SYNTAX

   GET BITMAP var FROM [x], [y]

PURPOSE

The purpose of the GET BITMAP command is to store the contents of the screen in a variable, just the bitmap component so without color component. The syntax requires the point from which to start storing the image, whose dimensions are implicitly obtained from the variable. This command ssupports ATLAS and SEQUENCE version, so you can acquire a single frame from the screen.

EXAMPLE

  background = NEW IMAGE(16, 16)
  GET BITMAP background FROM 0, 0

ABBREVIATION

 GeBm

AVAILABLE ON

SEE ALSO

GET IMAGE

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY