Syntax
Result = dbMakeMemblockFromImage(MemblockID, ImageID)
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 an image. 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
dbMakeBitmapFromMemblock, dbMakeMemblockFromBitmap, dbMakeMemblockFromImage, dbMakeMemblockFromMesh, dbMakeMemblockFromSound