Change image file structure