Picturize example for C++ Builder
// replace the current image in the main control with an image created
// from all the images present in c:\images. Resize all images present in that directory
// to 8x8 pixels and load them all in memory before proceeding
ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
LEADRasterView1->ScaleMode = 3;
pRasterProc->Picturize ( LEADRasterView1->Raster, AnsiToOLESTR("d:\\erase\\images"),
(PicturizeConstants)(PICTURIZE_LOADALL | PICTURIZE_RESIZE),
8,
8);
pRasterProc->Release();