Correct picture in different file formats