FrameManager:SaveScreenToBMP

From Data Realms Wiki

Revision as of 00:45, 28 June 2012 by Beautifybot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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