Features/different image formats/image format checker

## Status: In progress

Responsible: Andre Orvalho
Reported: Andre Orvalho
Relevant to: different image types

This adds a white list mechanism that can be extended and tests for it!