should be able to work with images stored in different formats