throw Exception("Error loading image from memory");
#else
throw Exception("Not a PNG image and DevIL support not compiled in");
throw Exception("Error loading image from memory");
#else
throw Exception("Not a PNG image and DevIL support not compiled in");