FrameManager:SaveScreenToBMP

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxSaveScreenToBMP( * The filename of the file to save to, WITHOUT EXTENSION. eg, If "Test" is passed in, this func will save to Test000.bmp, if that file does not already exist. If it does exist, it will attempt 001, and so on. )
Description:
Dumps a bitmap of the screen back buffer to a 8bpp BMP file.
ReturnsSuccess >=0, or failure < 0.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools