update for PNG image support