output proper line information on palette images