image format messing around