Testing for imagepalettetotruecolor