{{htmlmetatags>metatag-robots=() metatag-title=(GET BITMAP | ugBASIC User Manual) metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum) metatag-description=(Manual page for GET BITMAP) metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png) metatag-og:title=(GET BITMAP | ugBASIC User Manual) metatag-og:description=(Manual page for GET BITMAP) }} ====== 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 [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON GET BITMAP|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY ===== [[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]