A military officer portrait captures the likeness, rank and uniform of service personnel across centuries of European and imperial history.