adjust encoding space image