transform between AQI and Image