Use native code instead of ATL::CImage