Uniform portrait art captures commanders, officers and monarchs in their official attire across centuries of painting and drawing.