Syntax

Result = dbMakeMemblockFromBitmap(MemblockID, BitmapID)

Description

If #PB_Any is used as the MemblockID parameter, the new ID will be returned as 'Result'. Otherwise the value of 'Result' is the same value passed as the MemblockID parameter.

This command will make a memblock from a bitmap. The source resource must exist or the command will fail. The memblock stores the data as Width (Long), Height (Long), Depth (Long), Data (Bytes).

See Also

dbMakeMemblockFromBitmap, dbMakeMemblockFromImage, dbMakeMemblockFromMesh, dbMakeMemblockFromSound

dbMakeBitmapFromMemblock, dbMakeImageFromMemblock, dbMakeMeshFromMemblock, dbMakeSoundFromMemblock