Images fixed, NULL is now nullptr, image to .png