Basic C++ Image loader.