CImg conversion looks like it works (but secretly it does not)