Extract and convert mac dmg image.