DiceEffect example for C++ Builder
void __fastcall TForm1::Button1Click(TObject *Sender)
{
/* Load the bitmap, keeping the bits per pixel of the file */
LEADImage1->Load("e:\\image1.cmp", 0, 1, 1 );
/* Apply Dice Effect for this bitmap */
LEADImage1->DiceEffect(16, 16, 0, RGB(0,0,0), BITMAP_RESIZE + DICE_SIZE + DICE_BORDER);
}