Image extension not matching the format

Only one of them is of the correct extension