Changes format of specified image files