image extension modification