Remove usage of all deprecated image formats