UseFastConversion example for Visual C++
void CDemo::OnLoad()
{
ILEADRasterIO * pRasterIO = NULL;
CoCreateInstance(CLSID_LEADRasterIO, NULL, CLSCTX_ALL, IID_ILEADRasterIO, (void**)&pRasterIO);
pRasterIO->PutUseFastConversion(TRUE);
pRasterIO->Load(m_RasterView.GetRaster(), TEXT("c:\\1.jpg"), 0, 0, 1);
if(pRasterIO)
{
pRasterIO->Release();
}
}