BB FlashBack SDK: FBRecorder

AddBitmapFromMemory

Description

When in 'bitmap' compatibility mode, this method adds a bitmap to the movie file.
 

Syntax

[C#/C++]
public void AddBitmapFromMemory (long pData, long bits, long palcolors, long colors, long scanline, Bool topdown, long width, long height, long x, long y)

[VB.NET]
Public Sub AddBitmapFromMemory (ByVal pData As Long, ByVal bits As Long, ByVal palcolors As Long, ByVal colors As Long, ByVal scanline As Long, By Val topdown As Boolean, ByVal width As Long, ByVal height As Long, ByVal x As Long, ByVal y As Long)

Parameters

pData - pointer to the bytes of the bitmap.

bits - The colour depth, or number of bits per pixel. The only allowed values are 8, 16, 24 and 32.

palcolours - the number of colors in the color palette, if one is defined by the colors parameter.

colors - pointer to an array of RGBQUAD structures which forms a color palette. Null if no palette is used.

scanline - the width of a single row in the bitmap.

topdown - True if the bitmap is stored in top down order. False if stored in bottom up order.

width, height - the width and height of the image.

x, y - the position of the image in the movie.
 

Remarks

The CompatibilityMode property can set the recording mode to 'bitmap' mode. When in this mode, screen changes are not recorded. Instead, bitmaps are sent to the movie via the AddBitmapByHandle and AddBitmapFromMemory methods and when the movie is played back, these bitmaps are displayed in the specified sequence, time and position.

See About Record Modes for more information on record modes, including bitmap mode.

See Also

FBRecorder::BitmapModeScreenWidth  FBRecorder::BitmapModeScreenHeight  FBRecorder::AddBitmapFromMemory  FBRecorder::CompatibilityMode