Fixing image format.