ColorSpace Example for C++ 5.0 and later
pRasterIO->ColorSpace = COLORSPACE_BGR; pRasterIO->IgnoreViewPerspective = TRUE; pRasterIO->Load(pRaster, "test.tif", 0, 1, -1);