GetBitmapCRC Method (SystemFunctions)

Action

Returns the CRC value of a bitmap file. If the parameter mask is provided and is not null, only the masked pixels are used for the CRC calculation. The mask must be a monochrome bitmap with the same dimensions as the image. Black pixels hide the pixel on the same position in the image for CRC calculation.

Syntax

lValue = GetBitmapCRC (sFileName, sMaskName)
Variable Description
lValue The CRC32 value. Long.
sFileName The path to the bitmap file. Can be either an absolute path or a path that is relative to the current working directory.
sMaskName The path to the mask file. Can be either an absolute path or a path that is relative to the current working directory.