checking for case insensitive parameters; drawing image primitive