remove .gif and .xpm image formats

at least .gif doesn't work anyway.
Merge pull request #513 from Jojo-Schmitz/jpeg

remove .gif and .xpm image formats